Commit 174a478f authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applets/colorpicker: add name to color rectangle

This allows a screen reader to read the color code.


(cherry picked from commit 1775e297)
parent 626df45a
Pipeline #211622 canceled with stage
in 13 seconds
......@@ -318,6 +318,10 @@ Item {
acceptedButtons: Qt.LeftButton | Qt.RightButton
hoverEnabled: true
Accessible.name: colorLabel.text
Accessible.role: Accessible.ButtonMenu
onContainsMouseChanged: {
if (containsMouse) {
fullRoot.currentIndex = index
......
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