WebAIM - Web Accessibility In Mind

E-mail List Archives

CSS only Tab control using a radio button group - Good or Bad idea


From: Laurence Lewis
Date: Jul 21, 2022 11:56PM

I was directed to a webpage on medium.com, and asked if repurposing a radio
group visually as a TAB control is okay from an accessibility perspective.

I ask myself why would you, when there is an ARIA Tab control that serves
this purpose, and that the ARIA pattern maps to the expectation of users
because it works the same as a Tab control on the Windows platform.

I'd like to hear the opinion of other developers and assistive technology
users on the pros and cons of this approach.

- How To Build Tabs only with CSS

I understand that the Medium website has inherent accessibility problems
for users so apologies in advance.

All the best

Laurence Lewis

Accessibility Senior Specialist - Telstra