If you use aria-describedby to associate a tooltip or error message with a grouping element (a <fieldset> element or an element with role="group" or role="radiogroup") you would expect NVDA to read the value of the associated element whenever it reads the legend (or common label) of the group. This, however, is not the case.
Steps to reproduce:
- Open the attached .html file (it is just a static file, no Javascript or CSS validation).
- Move focus into the groupin element, (tab from the "Google" link to the "red" checkbox or shift-tab from the "Verify" button to the "Peppermint" checkbox.
Actual behavior:
NVDA announces the label of the checkbox and the common label of the group, "What's your favorite color".
Expected behavior:
NVDA should announce the label of the checkbox, the common label of the group and the associated error message
e.g.
"red, checkbox not checked, What's your favorite color, grouping, error! You must select at least one color"
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
NVDA 2019.2
Windows version:
Windows 7 (looks like Windows version is N/A for this issue).
Name and version of other software in use when reproducing the issue:
Verified with Chrome 74 and Firefox 60-ESR
Other information about your system:
None needed.
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Have not tried, would expect same.
Relevant info
This works with Jaws 2019 in both Chrome and Firefox.
See also This article from Tenon (where you can see another live example).
If you use
aria-describedbyto associate a tooltip or error message with a grouping element (a<fieldset>element or an element withrole="group"orrole="radiogroup") you would expect NVDA to read the value of the associated element whenever it reads the legend (or common label) of the group. This, however, is not the case.Steps to reproduce:
Actual behavior:
NVDA announces the label of the checkbox and the common label of the group, "What's your favorite color".
Expected behavior:
NVDA should announce the label of the checkbox, the common label of the group and the associated error message
e.g.
"red, checkbox not checked, What's your favorite color, grouping, error! You must select at least one color"
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
NVDA 2019.2
Windows version:
Windows 7 (looks like Windows version is N/A for this issue).
Name and version of other software in use when reproducing the issue:
Verified with Chrome 74 and Firefox 60-ESR
Other information about your system:
None needed.
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Have not tried, would expect same.
Relevant info
This works with Jaws 2019 in both Chrome and Firefox.
See also This article from Tenon (where you can see another live example).