Adds a11y Labels to the Tabbar "Apps & Docs" and "Widgets" in top of the screen.
Diff Detail
- Lint
Lint Skipped - Unit
Unit Tests Skipped
applets/kicker/package/contents/ui/DashboardTabBar.qml | ||
---|---|---|
29 | As far as I understood PageTab is the tab button itself (e.g. a DashboardTabButton), and this item would be a PageTabList? |
@chempfling what do you think? Would it be possible to label the buttons inside the tab bar instead?
applets/kicker/package/contents/ui/DashboardTabBar.qml | ||
---|---|---|
29 | Is the label for the buttons or the bar? I'm actually more in favor of labeling the buttons, in case this labels the parent tab bar. |
I figured how to simulate the correct focus behaviour..
I updated the patch to:
- set the focus to active tab button (instead of the tabbar)
- set the proper a11y role to the tabbar
- set the name and role of the button
Nice, this looks good to me. I don't know the code though, so it would be great to hear what people more familiar with it say.
applets/kicker/package/contents/ui/DashboardTabBar.qml | ||
---|---|---|
47 | Could this maybe be written as focus: parent.focus & active |
applets/kicker/package/contents/ui/DashboardTabBar.qml | ||
---|---|---|
29 | PageTabList is used if the Page Tab List has an caption like "View mode" with focusable child's "Apps & Docs" and "Widgets". So the Screenreader can announce: But the PageTabList doesnt have an Caption here. Its just nameless. the its not implemented very clean. The current Implementation does just "simulate" the TabBar/ TabButton behaviour in an uncomplete way (in my understanding of an Tab) using "Row" and "Widget". First of all. this creates the wanted behaviour to present it correctly to AT technologies. | |
29 | Yea me too, |
@gladhorn just told me that I m allowed to try this by my self :).
so i give a try and let you know if i was able to handle this. thanks for helping