Skip to content

Commit

Permalink
Fallback naming guidance section: reference cardinal rule 4 to avoid it.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcking65 committed Jul 1, 2019
1 parent 25eb6c8 commit 2f791c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -4091,7 +4091,8 @@ <h5>Naming Tables and Figures with Captions</h5>
<h5>Fallback Names Derived from Titles and Placeholders</h5>
<p>
When an accessible name is not provided using one of the primary techniques (e.g., the <code>aria-label</code> or <code>aria-labelledby</code> attributes), or native markup techniques (e.g., the HTML <code>label</code> element, or the <code>alt</code> attribute of the HTML <code>img</code> element), browsers calculate an accessible name from other attributes as a fallback mechanism.
It is recommended authors prefer the explicit labeling techniques described above over fallback techniques described in this section.
Because the attributes used in fallback name calculation are not intended for naming, they typically yield low quality accessible names that are not effective.
So, As advised by <a href="#naming_rule_avoid_fallback">Rule 4: Avoid Browser Fallback</a>, prefer the explicit labeling techniques described above over fallback techniques described in this section.
</p>

<p>
Expand Down

0 comments on commit 2f791c5

Please sign in to comment.