fun a11y discussion at work yesterday. Imagine two radio buttons:
A free pie on arrival?
(o) yes ( ) no
and if no, we show a warning:
( ) yes (o) no
warning: no outside food allowed!
Is it OK to simply make #warning display:none on load and shown when "no" is ticked
input#no:checked + p#warning { display: block }
as it's after the radio and will be heard in order?
or maybe aria-describedby=warning (on radio) and role=status (on warning), to ensure the user's explicitly told it appeared?