microsoft / fluentui-contrib

Monorepo for contributor extension packages to Fluent UI
MIT License
31 stars 35 forks source link

feat(react-resize-handle): Use slider role for better screen reader support #223

Closed george-cz closed 3 months ago

george-cz commented 3 months ago

After doing research about the support of separator and slider roles across different screen readers and platforms it became obvious that the slider role has much better narration and keyboard support.

While separator fits the use case the best on paper, in real-world it's support leaves much to be desired.

To summarize the issues with separator:

All of these issues are avoided by using slider.

"Horizontal" and "vertical" orientation needs to be flipped for "slider".