Add a placeholder-text test
Contributed by Joanmarie Diggs.
This commit is contained in:
parent
ff5eb4adfe
commit
6087131ab6
@ -50,4 +50,5 @@ EXTRA_DIST += \
|
|||||||
paned.ui paned.txt \
|
paned.ui paned.txt \
|
||||||
iconview.ui iconview.txt \
|
iconview.ui iconview.txt \
|
||||||
entries.ui entries.txt \
|
entries.ui entries.txt \
|
||||||
scale-drawvalue.ui scale-drawvalue.txt
|
scale-drawvalue.ui scale-drawvalue.txt \
|
||||||
|
placeholder-text.ui placeholder-text.txt
|
||||||
|
140
tests/a11y/placeholder-text.txt
Normal file
140
tests/a11y/placeholder-text.txt
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
window1
|
||||||
|
"window"
|
||||||
|
index: 0
|
||||||
|
state: enabled resizable sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: window
|
||||||
|
alpha: 1
|
||||||
|
box1
|
||||||
|
"panel"
|
||||||
|
parent: window1
|
||||||
|
index: 0
|
||||||
|
state: enabled sensitive showing vertical visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
entry1
|
||||||
|
"text"
|
||||||
|
parent: box1
|
||||||
|
index: 0
|
||||||
|
state: editable enabled focusable sensitive showing single-line visible
|
||||||
|
toolkit: gail
|
||||||
|
placeholder-text: Subject or Addresses contain
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
<AtkText>
|
||||||
|
text:
|
||||||
|
character count: 0
|
||||||
|
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
|
||||||
|
<AtkAction>
|
||||||
|
action 0 name: activate
|
||||||
|
entry2
|
||||||
|
"text"
|
||||||
|
parent: box1
|
||||||
|
index: 1
|
||||||
|
state: editable enabled focusable sensitive showing single-line visible
|
||||||
|
toolkit: gail
|
||||||
|
placeholder-text: Message contains
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
<AtkText>
|
||||||
|
text: Some text
|
||||||
|
character count: 9
|
||||||
|
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
|
||||||
|
<AtkAction>
|
||||||
|
action 0 name: activate
|
||||||
|
entry3
|
||||||
|
"text"
|
||||||
|
parent: box1
|
||||||
|
index: 2
|
||||||
|
state: editable enabled focusable sensitive showing single-line visible
|
||||||
|
toolkit: gail
|
||||||
|
placeholder-text: Body contains
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
<AtkText>
|
||||||
|
text:
|
||||||
|
character count: 0
|
||||||
|
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
|
||||||
|
<AtkAction>
|
||||||
|
action 0 name: activate
|
60
tests/a11y/placeholder-text.ui
Normal file
60
tests/a11y/placeholder-text.ui
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
|
<object class="GtkWindow" id="window1">
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="type">popup</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox" id="box1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkEntry" id="entry1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="invisible_char">●</property>
|
||||||
|
<property name="invisible_char_set">True</property>
|
||||||
|
<property name="placeholder_text">Subject or Addresses contain</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkEntry" id="entry2">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="invisible_char">●</property>
|
||||||
|
<property name="text" translatable="yes">Some text</property>
|
||||||
|
<property name="invisible_char_set">True</property>
|
||||||
|
<property name="placeholder_text">Message contains</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkEntry" id="entry3">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="has_focus">True</property>
|
||||||
|
<property name="is_focus">True</property>
|
||||||
|
<property name="invisible_char">●</property>
|
||||||
|
<property name="invisible_char_set">True</property>
|
||||||
|
<property name="placeholder_text">Body contains</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
Loading…
Reference in New Issue
Block a user