Skip to content

Commit

Permalink
Fixed accessible name for items
Browse files Browse the repository at this point in the history
  • Loading branch information
Eism authored and igorkorsukov committed Jul 17, 2024
1 parent 3b83778 commit f457467
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ FlatButton {
drawFocusBorderInsideRect: true

navigation.name: Boolean(itemData) ? itemData.id : ""
accessible.name: (Boolean(itemData) && itemData.checkable ? (itemData.checked ? text + " " + qsTrc("global", "On") :
text + " " + qsTrc("global", "Off")) : text)
accessible.name: (Boolean(itemData) && itemData.checkable ? (itemData.checked ? itemData.title + " " + qsTrc("global", "On") :
itemData.title + " " + qsTrc("global", "Off")) : itemData.title)
isClickOnKeyNavTriggered: false
navigation.onTriggered: {
if (menuLoader.isMenuOpened || hasMenu) {
Expand Down

0 comments on commit f457467

Please sign in to comment.