Since ARIA 1.1, separator has a superclass of widget if focusable (it looks like it's the only ARIA roles that can have different superclasses).
I'm not sure if it's possible to somehow add this, or if this library assumes that each aria role only has one superclass chain.
There's also a separate issue that aria-valuenow is a required prop if the separator is focusable (see also: #230 (comment)), but again, I don't know you'd be able to add that into the current code-base.
Looks like there's also an issue in w3c/aria#1348 that suggests making a separate role="resizer" to avoid separator acting differently depending on whether it's focusable or not.
Since ARIA 1.1,
separatorhas a superclass ofwidgetif focusable (it looks like it's the only ARIA roles that can have different superclasses).I'm not sure if it's possible to somehow add this, or if this library assumes that each aria role only has one superclass chain.
There's also a separate issue that
aria-valuenowis a required prop if theseparatoris focusable (see also: #230 (comment)), but again, I don't know you'd be able to add that into the current code-base.Looks like there's also an issue in w3c/aria#1348 that suggests making a separate
role="resizer"to avoidseparatoracting differently depending on whether it's focusable or not.