Skip to content

Commit

Permalink
SRL-384 Update a11y-dialog due to bug with multiple dialogs on same page
Browse files Browse the repository at this point in the history
  • Loading branch information
robdecker committed Jan 20, 2021
1 parent a835e0d commit 8d165c0
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"a11y-dialog": "^5.3.1",
"a11y-dialog": "^5.4.2",
"a11y-toggle": "^2.1.0",
"autoprefixer": "^9.8.6",
"browser-sync": "^2.26.7",
Expand Down
2 changes: 1 addition & 1 deletion public/css/styles-srl.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions public/js/scripts.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/scripts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/scripts.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/_patterns/03-organisms/sections/modal/modal.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</button>
{% endif %}

<div class="{{ classes|join(' ')|trim }}" id="{{ randomId }}">
<div class="{{ classes|join(' ')|trim }}" id="{{ randomId }}" aria-hidden="true">
<div class="jcc-modal__backdrop{% if modal.overlay_mode %} jcc-modal__backdrop--overlay{% endif %}" tabindex="-1"></div>

<dialog class="jcc-modal__dialog{% if modal.overlay_mode %} jcc-modal__dialog--overlay{% endif %} js-dialog-window" id="jcc-dialog-window" aria-label="{{ randomId }} dialog window">
Expand Down

0 comments on commit 8d165c0

Please sign in to comment.