WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender] Checkbox related issue

for

From: Lovely, Brian
Date: Jul 31, 2018 6:35AM


My first question is why would selecting a checkbox open a popup; that seems like a weird user experience that goes counter to expectations. Assuming we are stuck with that, don't add an image to the focus order. You can just make the warning icon a background image or an inline image with an alt attribute set to a null value (alt=""), then add a span to the checkbox label, containing the text "opens a popup" and hidden visually with CSS clipping. Or simply add a single visible instruction before the checkboxes that says something like "checkboxes open a popup".