WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Radio buttons using input tag, or aria radiogroup role?

for

From: Patrick H. Lauke
Date: Apr 25, 2017 2:42PM


On 25/04/2017 21:32, AutoMagicMike wrote:
[...]
> Are there any advantages to using the aria approach? better support in
> assistive technologies ? mobile devices?

Browsers make it very flaky and difficult to style regular radio inputs
and checkboxes (without using ugly CSS hacks). Going the ARIA route with
more generic underlying elements allows for far greater control over the
visual output.

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke