Skip to content

Commit

Permalink
allow math as role for img tag
Browse files Browse the repository at this point in the history
  • Loading branch information
notoriousmango committed Dec 17, 2024
1 parent 71cbd90 commit f0c73fc
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 @@ -360,6 +360,7 @@ const htmlElms = {
'button',
'checkbox',
'link',
'math',
'menuitem',
'menuitemcheckbox',
'menuitemradio',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ <h1 id="pass-h1-valid-role" role="none"></h1>
id="pass-img-valid-role-meter"
/>
<img role="doc-cover" aria-label="foo" id="pass-img-valid-role-aria-label" />
<img role="math" id="pass-img-valid-role-math" />
<img role="menuitem" title="bar" id="pass-img-valid-role-title" />
<div id="image-baz">hazaar</div>
<img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
["#pass-img-valid-role-title"],
["#pass-img-valid-role-aria-labelledby"],
["#pass-img-valid-role-radio"],
["#pass-img-valid-role-math"],
["#pass-img-valid-role-meter"],
["#pass-imgmap-1"],
["#pass-imgmap-2"],
Expand Down

0 comments on commit f0c73fc

Please sign in to comment.