Your weekly frequent11y newsletter, brought to you by @ChrisBAshton:
- Adrian Roselli writes about this attribute that describes the role of an element. It overrides what is announced to the screen reader, e.g.
<input type="text" aria-roledescription="Only numbers allowed">
will read as “Only numbers allowed” instead of “input type text”. This hides meaning and the control type – a confusing experience for the user. It also doesn’t translate. There’s an open issue about the global nature of this attribute. Don’t use it!
When (not) to use the <br>
element
- Å ime Vidas shares a helpful reminder that the
<br>
line break element is useful in some cases. Whilst web developers have generally moved away from<br>
use – seeing line breaks as presentation, not content, and therefore using CSS instead – it should still be used when line breaks are part of the content. For example: poems or addresses.
The Complete Guide to Accessibility for WordPress Websites
- Post on deque.com highlighting that WordPress powers 35% of websites and its accessibility greatly depends on the themes and plugins you have installed. There are a number of themes explicitly tagged as “Accessibility Ready”, although you should manually test too as quality varies. The new WordPress editor ‘Gutenberg’ was released in mid 2019 despite its accessibility issues, but the maintainers hope these are all resolved in 2020.
Did you know that you can subscribe to dai11y, week11y, fortnight11y or month11y updates! Every newsletter gets the same content; it is your choice to have short, regular emails or longer, less frequent ones. Curated with ♥ by developer @ChrisBAshton.