Accessible inline error message associated with fieldset and radio buttons

Github Page

Methods

The following methods have been used to programmatically associated the error message with the radio buttons within a <fieldset>:


Tests

The 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.


Results

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

Github Page