Commit 037f2657 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

a11y: kickoffitemdelegates are listitems

they could also be menuitem or button, but I think listitem is the best
fit for what they are since they aren't practically in a menu (although
kickoff is a menu of sorts of course)
parent 3e2fa27c
Pipeline #215934 passed with stage
in 4 minutes and 23 seconds
......@@ -98,7 +98,12 @@ T.ItemDelegate {
hoverEnabled: false
text: ?? model.display
Accessible.role: Accessible.ListItem
Accessible.description: root.description != root.text ? root.description : ""
Accessible.onPressAction: {
root.forceActiveFocus() // trigger is focus guarded
// Using an action so that it can be replaced or manually triggered
// using `model` () instead of `root.model` leads to errors about
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment