forked from AuroraMiddleware/gtk
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
139 lines
4.4 KiB
Plaintext
139 lines
4.4 KiB
Plaintext
window1
|
|
"alert"
|
|
index: 0
|
|
name: Information
|
|
state: enabled sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: window
|
|
alpha: 1
|
|
dialog-vbox1
|
|
"filler"
|
|
parent: window1
|
|
index: 0
|
|
state: enabled sensitive showing vertical visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
box
|
|
"filler"
|
|
parent: dialog-vbox1
|
|
index: 0
|
|
state: enabled horizontal sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
image
|
|
"icon"
|
|
parent: box
|
|
index: 0
|
|
name: Information
|
|
state: enabled sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkImage>
|
|
image size: 48 x 48
|
|
image description: (null)
|
|
message_area
|
|
"filler"
|
|
parent: box
|
|
index: 1
|
|
state: enabled sensitive showing vertical visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
label
|
|
"label"
|
|
parent: message_area
|
|
index: 0
|
|
name: Information
|
|
state: enabled focusable multi-line sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkText>
|
|
text: Information
|
|
character count: 11
|
|
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>
|
|
secondary_label
|
|
"label"
|
|
parent: message_area
|
|
index: 1
|
|
name: More Information
|
|
state: enabled focusable multi-line sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|
|
<AtkText>
|
|
text: More Information
|
|
character count: 16
|
|
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>
|
|
dialog-action_area1
|
|
"filler"
|
|
parent: dialog-vbox1
|
|
index: 1
|
|
state: enabled horizontal sensitive showing visible
|
|
toolkit: gtk
|
|
<AtkComponent>
|
|
layer: widget
|
|
alpha: 1
|