Minor proofing edits + anti-pattern reference (#29577)

pull/32102/merge
Sarah Waldie 2019-01-28 20:27:04 -05:00 committed by Christopher McCormack
parent d5850db7d6
commit 7965ae515c
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ The HTML specification is a document that describes how the language should be u
<span class="clickable-with-JavaScript">English</span>
```
Guess what? All three of these elements break several criteria of WCAG and therefore are not accessible at all.
Guess what? All three of these elements break several criteria of WCAG and therefore are not accessible at all. These approaches are often referred to as "anti-patterns" [learn more here](https://medium.com/ft-product-technology/an-outbreak-of-accessibility-anti-patterns-e73577242ee8) when addressing accessibility. "An anti-pattern is “a common response to a recurring problem that is usually ineffective and risks being highly counterproductive” [Wikipedia](https://en.wikipedia.org/wiki/Anti-pattern).
The first element breaks the name, role, value-criterium, which states that all elements on a web page should expose their name, role (e.g. button) and value (e.g. the contents of an edit field) to assistive technologies. This div actually doesnt provide any of the three, rendering it invisible to screen-readers.