Skip to content

Commit

Permalink
fix(aria-allowed-role): Add doc-glossary to allowed roles for aside e…
Browse files Browse the repository at this point in the history
…lement (#4083)

* Add doc-glossary to allowed roles for aside element

updates html-elms.js

* Update aria-allowed-role.html

adds doc-glossary passing example

* Update aria-allowed-role.json

adds pass-aside-doc-glossary to match aria-allowed-role.html ID
  • Loading branch information
scottaohara committed Jul 10, 2023
1 parent 03f2771 commit 6ca38f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/standards/html-elms.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const htmlElms = {
'doc-dedication',
'doc-example',
'doc-footnote',
'doc-glossary',
'doc-pullquote',
'doc-tip'
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<li id="pass-li-role-doc-biblioentry" role="doc-biblioentry"></li>
</ul>
<aside id="pass-aside-doc-example" role="doc-example"></aside>
<aside id="pass-aside-doc-glossary" role="doc-glossary"></aside>
<div id="pass-div-has-any-role" role="contentinfo"></div>
<div id="pass-div-valid-role" role="link">ok</div>
<ol id="pass-ol-valid-role" role="directory"></ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
["#pass-section-role-doc-bib"],
["#pass-li-role-doc-biblioentry"],
["#pass-aside-doc-example"],
["#pass-aside-doc-glossary"],
["#pass-div-valid-role"],
["#pass-ol-valid-role"],
["#pass-nav-role-doc-index"],
Expand Down

0 comments on commit 6ca38f6

Please sign in to comment.