mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
5845356d66
This commit makes the label accessible implement AtkHypertext, which returns a AtkHyperlink object for each link in the text. At the same time, add AtkHyperlinkImpl objects as children to the label accessible. Also some private API to indicate that links have changed, and call that from GtkLabel when needed. Adjust expected output of the affected a11y tests. https://bugzilla.gnome.org/show_bug.cgi?id=721410 https://bugzilla.gnome.org/show_bug.cgi?id=721421
185 lines
6.2 KiB
Plaintext
185 lines
6.2 KiB
Plaintext
window1
|
|
"window"
|
|
index: 0
|
|
state: enabled resizable sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: window
|
|
alpha: 1
|
|
box1
|
|
"filler"
|
|
parent: window1
|
|
index: 0
|
|
state: enabled horizontal sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
listbox1
|
|
"list box"
|
|
parent: box1
|
|
index: 0
|
|
state: enabled sensitive showing visible manages-descendants
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkSelection>
|
|
unnamed-GtkListBoxRowAccessible-0
|
|
"list item"
|
|
parent: listbox1
|
|
index: 0
|
|
state: enabled focusable sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
row1
|
|
"label"
|
|
parent: unnamed-GtkListBoxRowAccessible-0
|
|
index: 0
|
|
name: Row One
|
|
state: enabled multi-line sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkText>
|
|
text: Row One
|
|
character count: 7
|
|
caret offset: 0
|
|
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>
|
|
unnamed-GtkListBoxRowAccessible-1
|
|
"list item"
|
|
parent: listbox1
|
|
index: 1
|
|
state: enabled focusable sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
row2
|
|
"label"
|
|
parent: unnamed-GtkListBoxRowAccessible-1
|
|
index: 0
|
|
name: Row Two
|
|
state: enabled multi-line sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkText>
|
|
text: Row Two
|
|
character count: 7
|
|
caret offset: 0
|
|
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>
|
|
listbox2
|
|
"list box"
|
|
parent: box1
|
|
index: 1
|
|
state: enabled sensitive showing visible manages-descendants
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkSelection>
|
|
unnamed-GtkListBoxRowAccessible-2
|
|
"list item"
|
|
parent: listbox2
|
|
index: 0
|
|
state: enabled focusable selectable sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
row3
|
|
"label"
|
|
parent: unnamed-GtkListBoxRowAccessible-2
|
|
index: 0
|
|
name: Row Tree
|
|
state: enabled multi-line sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkText>
|
|
text: Row Tree
|
|
character count: 8
|
|
caret offset: 0
|
|
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>
|