dai11y 06/05/2020

Your daily frequent11y newsletter, brought to you by @ChrisBAshton:

Avoid aria-roledescription

  • 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!

Prefer longer newsletters? You can subscribe to week11y, fortnight11y or even 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.

Loading...