Commit 1775e297 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.
parent dcaf533e
......@@ -317,6 +317,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