The following methods have been used to programmatically associated the error message with the radio buttons within a <fieldset>:
aria-describedby attribute applied to the <fieldset> elementaria-describedby attribute applied to the <legend> elementaria-describedby attribute applied to all <input> elementsThe following tests are to determine if the error message is programmatically associated with the radio buttons within a <fieldset>:
A PASS equals passing all four tests above.
| Combination | Method 1 | Method 2 | Method 3 | Method 4 |
|---|---|---|---|---|
| VoiceOver & Chrome | Fail | Fail | Fail | Pass |
| VoiceOver & Firefox | Fail | Fail | Fail | Fail |
| VoiceOver & Safari | Fail | Pass | Fail | Pass |
| NVDA & Chrome | Fail | Pass | Fail | Pass |
| NVDA & FireFox | Fail | Pass | Fail | Pass |
| NVDA & Edge | Fail | Fail | Fail | Fail |
| JAWS & Chrome | Fail | Pass | Fail | Pass |
| JAWS & FireFox | Fail | Pass | Fail | Pass |
| JAWS & Edge | Fail | Fail | Fail | Pass |