Add a test that sets ::accessible-name
This commit is contained in:
parent
5c1b0b005e
commit
3f01b42652
5
tests/a11y/accessible-name.txt
Normal file
5
tests/a11y/accessible-name.txt
Normal file
@ -0,0 +1,5 @@
|
||||
window1
|
||||
"window"
|
||||
button1
|
||||
"push button"
|
||||
name: Accessible name
|
21
tests/a11y/accessible-name.ui
Normal file
21
tests/a11y/accessible-name.ui
Normal file
@ -0,0 +1,21 @@
|
||||
<?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="GtkButton" id="button1">
|
||||
<property name="label" translatable="yes">Hello World!</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<child internal-child="accessible">
|
||||
<object class="AtkObject" id="button1-accessible">
|
||||
<property name="accessible-name" translatable="yes">Accessible name</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user