WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Screen reader bugs

for

From: Steve Green
Date: May 30, 2023 12:00AM


In this case the problem is that you are not using the "aria-required" attribute correctly. If it has the behaviour you want in some screen readers, that is due to luck. Talkback is not behaving incorrectly.

The ARIA specification states that "aria-required is only applicable to interactive elements", so you cannot put it on a fieldset or a group. Furthermore, the specification lists the roles to which aria-required can be applied, which are combobox, gridcell, listbox, radiogroup, spinbutton, textbox and tree.

https://www.w3.org/TR/wai-aria-1.1/#aria-required

Steve Green
Managing Director
Test Partners Ltd