Commit 8e745fbf authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applet: allow screen reader to read connection details

This moves DetailsText to FocusScope, and gives FocusScope a
description.
parent 7c9aa812
......@@ -134,14 +134,24 @@ PlasmaExtras.ExpandableListItem {
}
}
DetailsText {
FocusScope {
anchors {
left: parent.left
leftMargin: PlasmaCore.Units.iconSizes.smallMedium
right: parent.right
}
details: ConnectionDetails
height: detailsTextColumn.implicitHeight
visible: detailsTabBar.currentIndex == 1
activeFocusOnTab: true
Accessible.description: ConnectionDetails.join(" ")
DetailsText {
id: detailsTextColumn
width: parent.width
details: ConnectionDetails
}
}
TrafficMonitor {
......
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