upsiflu / less-ui

Write your views across several screen regions, and hide all Ui state in the Url.
https://package.elm-lang.org/packages/upsiflu/less-ui/latest
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Accessible Tabs (control-group focus) #2

Open upsiflu opened 1 year ago

upsiflu commented 1 year ago

Accessible stateless Ui transitions and focus groups

The Link module provides some Ui State transition patterns. As of now, these are all implemented with the a href= Html element. But other input types such as radio, checkbox etc. may be apt to implement some patterns. Good implementations are very rare.

Situation

Exploration

(1) What does austinshenk/elm-w3 do in terms of these patterns? (2) Is it more advisable to start with the and work-in the group control (perhaps with a sprinkle of custom-elements), or to start with

upsiflu commented 1 year ago

On grouped keyboard focus: https://developer.mozilla.org/en-US/docs/Web/Accessibility/Keyboard-navigable_JavaScript_widgets

tab, tablist, tabpanel...: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tab_role