mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
Second-pass a11y work across all 12 component groups. Every interactive element now has activeFocusOnTab, Keys.onReturnPressed/SpacePressed, and context-aware Accessible.name/description bindings. Highlights: - Dialogs: keyboard handlers with enabled-guard on confirm buttons - CDropdownMenu: full keyboard nav (Up/Down/Enter/Escape) - CLoginForm: explicit KeyNavigation.tab chain (username→password→submit) - CNotificationBell: dynamic "3 notifications"/"No notifications" name - CJobProgressBar: Accessible.minimumValue/maximumValue/currentValue - CExecutionStatusDot: "Execution status: Running/Passed/Failed" binding - CKeyboardShortcuts: invisible Repeater exposes all shortcuts to a11y tree - CDataTable rows: "Row N of M" descriptions - Canvas elements: Accessible.Canvas role + keyboard zoom (+/- keys) - DropdownExpandedList: focus-highlight extended to :activeFocus - Dynamic names reflect loading state (e.g. "Signing in, please wait") Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
53 lines
1.3 KiB
QML
53 lines
1.3 KiB
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
Rectangle {
|
|
id: root
|
|
objectName: "luaEditorStatusBar"
|
|
Accessible.role: Accessible.StatusBar
|
|
Accessible.name: "Editor status bar"
|
|
|
|
property int lineCount: 0
|
|
|
|
Layout.fillWidth: true
|
|
Layout.preferredHeight: 26
|
|
color: "#181825"
|
|
|
|
RowLayout {
|
|
anchors.fill: parent
|
|
anchors.leftMargin: 12
|
|
anchors.rightMargin: 12
|
|
spacing: 16
|
|
|
|
Text {
|
|
text: "Lua 5.4"
|
|
font.pixelSize: 11
|
|
color: "#a6adc8"
|
|
Accessible.role: Accessible.StaticText
|
|
Accessible.name: "Language: Lua 5.4"
|
|
}
|
|
Text {
|
|
text: "UTF-8"
|
|
font.pixelSize: 11
|
|
color: "#a6adc8"
|
|
Accessible.role: Accessible.StaticText
|
|
Accessible.name: "Encoding: UTF-8"
|
|
}
|
|
Text {
|
|
text: root.lineCount + " lines"
|
|
font.pixelSize: 11
|
|
color: "#a6adc8"
|
|
Accessible.role: Accessible.StaticText
|
|
Accessible.name: root.lineCount + " lines"
|
|
}
|
|
Item { Layout.fillWidth: true }
|
|
Text {
|
|
text: "MetaBuilder Lua Runtime"
|
|
font.pixelSize: 11
|
|
color: "#585b70"
|
|
Accessible.role: Accessible.StaticText
|
|
Accessible.name: "MetaBuilder Lua Runtime"
|
|
}
|
|
}
|
|
}
|