Sanity: RadioSelect should have a .focus-method

Created on 25 Jan 2018  路  3Comments  路  Source: sanity-io/sanity

RadioSelect is currently not focusable.

Not exactly sure whether .focus() should trigger focus on the first radio input in it, or if we should add tabIndex=0 and set focus on a wrapper element.

Bug Accessibility

All 3 comments

I think it should focus the first item by default.

This is now in a PR, and it focuses the first item if no selcted, or the currently selected one.

Was this page helpful?
0 / 5 - 0 ratings