Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
expand on the 'if possible' paragraph to call out that it'd be better for authors to use the button element instead of these legacy (though still valid) input button types.
  • Loading branch information
scottaohara authored Feb 16, 2024
1 parent 1339fde commit da87e9a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,8 @@ <h2 id="docconformance">
and any `aria-*` attributes applicable to the allowed roles.
</p>
<p>
If possible, authors SHOULD consider using a different HTML element which allows the specified role.
If possible, authors SHOULD consider using a different HTML element which allows the specified role,
such as the `button` element.
</p>
</div>
</td>
Expand Down Expand Up @@ -1984,7 +1985,8 @@ <h2 id="docconformance">
and any `aria-*` attributes applicable to the allowed roles.
</p>
<p>
If possible, authors SHOULD consider using a different HTML element which allows the specified role.
If possible, authors SHOULD consider using a different HTML element which allows the specified role,
such as the `button` element.
</p>
</div>
</td>
Expand Down Expand Up @@ -2039,7 +2041,8 @@ <h2 id="docconformance">
and any `aria-*` attributes applicable to the allowed roles.
</p>
<p>
If possible, authors SHOULD consider using a different HTML element which allows the specified role.
If possible, authors SHOULD consider using a different HTML element which allows the specified role,
such as the `button` element.
</p>
</div>
</td>
Expand Down

0 comments on commit da87e9a

Please sign in to comment.