Skip to content

Commit

Permalink
Noticed this issue with aria-label on a <div> which is technically no…
Browse files Browse the repository at this point in the history
…t allowed.
  • Loading branch information
clapierre committed Jul 13, 2022
1 parent 51de405 commit c211eb9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
<h3>Test 110</h3>
<p>Math Equation will appear between the following two lines.</p>
<hr/>
<!-- This is technically invalid as you can't put an aria-label on a <div> Perhaps we should include role="img"? -->
<div tabindex="0" aria-label="aria-label: y minus y sub 1 equals StartFraction y sub 2 minus y sub 1 Over x sub 2 minus x sub 1 EndFraction left-parenthesis x minus x sub 1 right-parenthesis">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<semantics>
Expand Down Expand Up @@ -294,7 +295,7 @@
<h3>Test 120</h3>
<p>Math Equation will appear between the following two lines.</p>
<hr/>

<!-- This is technically invalid as you can't put an aria-label on a <div> Perhaps we should include role="img"? -->
<div tabindex="0" aria-label="aria-label: y minus y sub 1 equals StartFraction y sub 2 minus y sub 1 Over x sub 2 minus x sub 1 EndFraction left-parenthesis x minus x sub 1 right-parenthesis">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<semantics>
Expand Down

0 comments on commit c211eb9

Please sign in to comment.