forked from AuroraMiddleware/gtk
a1856c30d9
All the a11y tests were failing for me with a window state diff like this: - state: active enabled resizable sensitive showing visible + state: enabled resizable sensitive showing visible I guess the windows in the CI always gets the focus, but not when I run it here. Generally focus seems asynchronous and hard to rely on so I just made the test ignore the active state on toplevels.
61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
window1
|
|
"window"
|
|
index: 0
|
|
state: enabled resizable sensitive showing visible
|
|
toolkit: gtk
|
|
window-type: normal
|
|
<AtkComponent>
|
|
layer: window
|
|
alpha: 1
|
|
expander1
|
|
"toggle button"
|
|
parent: window1
|
|
index: 0
|
|
name: Reveal this
|
|
state: enabled expandable focusable focused sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkAction>
|
|
action 0 name: activate
|
|
action 0 description: Activates the expander
|
|
label1
|
|
"label"
|
|
name: Hello World!
|
|
state: enabled multi-line sensitive visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkText>
|
|
text: Hello World!
|
|
character count: 12
|
|
caret offset: -1
|
|
default attributes: bg-color: <omitted>
|
|
bg-full-height: 0
|
|
direction: <omitted>
|
|
editable: false
|
|
family-name: <omitted>
|
|
fg-color: <omitted>
|
|
indent: 0
|
|
invisible: false
|
|
justification: left
|
|
language: <omitted>
|
|
left-margin: 0
|
|
pixels-above-lines: 0
|
|
pixels-below-lines: 0
|
|
pixels-inside-wrap: 0
|
|
right-margin: 0
|
|
rise: 0
|
|
scale: 1
|
|
size: <omitted>
|
|
stretch: <omitted>
|
|
strikethrough: false
|
|
style: <omitted>
|
|
underline: none
|
|
variant: <omitted>
|
|
weight: <omitted>
|
|
wrap-mode: word
|
|
<AtkHypertext>
|