forked from AuroraMiddleware/gtk
a11y tests: Stop using can-focus
This commit is contained in:
parent
bbd4fb8798
commit
b1afe5ff23
@ -2,12 +2,10 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="button1">
|
<object class="GtkButton" id="button1">
|
||||||
<property name="label" translatable="yes">Hello World!</property>
|
<property name="label" translatable="yes">Hello World!</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">True</property>
|
<property name="receives_default">True</property>
|
||||||
<child internal-child="accessible">
|
<child internal-child="accessible">
|
||||||
<object class="AtkObject" id="button1-accessible">
|
<object class="AtkObject" id="button1-accessible">
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
<property name="child">
|
<property name="child">
|
||||||
<object class="GtkButton" id="button1">
|
<object class="GtkButton" id="button1">
|
||||||
<property name="label" translatable="yes">Button 1</property>
|
<property name="label" translatable="yes">Button 1</property>
|
||||||
<property name="can_focus">1</property>
|
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
@ -17,7 +16,6 @@
|
|||||||
<property name="child">
|
<property name="child">
|
||||||
<object class="GtkButton" id="button2">
|
<object class="GtkButton" id="button2">
|
||||||
<property name="label" translatable="yes">Button 2</property>
|
<property name="label" translatable="yes">Button 2</property>
|
||||||
<property name="can_focus">1</property>
|
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<object class="GtkToggleButton" id="button1">
|
<object class="GtkToggleButton" id="button1">
|
||||||
<property name="label" translatable="yes">Hello World!</property>
|
<property name="label" translatable="yes">Hello World!</property>
|
||||||
<property name="active">1</property>
|
<property name="active">1</property>
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<layout>
|
<layout>
|
||||||
<property name="left_attach">0</property>
|
<property name="left_attach">0</property>
|
||||||
@ -18,7 +17,6 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkCheckButton" id="button2">
|
<object class="GtkCheckButton" id="button2">
|
||||||
<property name="label" translatable="yes">Hello World!</property>
|
<property name="label" translatable="yes">Hello World!</property>
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<layout>
|
<layout>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
@ -29,7 +27,6 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkRadioButton" id="button3">
|
<object class="GtkRadioButton" id="button3">
|
||||||
<property name="label" translatable="yes">Hello World!</property>
|
<property name="label" translatable="yes">Hello World!</property>
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<layout>
|
<layout>
|
||||||
<property name="left_attach">2</property>
|
<property name="left_attach">2</property>
|
||||||
@ -42,7 +39,6 @@
|
|||||||
<property name="label" translatable="yes">Hello World!</property>
|
<property name="label" translatable="yes">Hello World!</property>
|
||||||
<property name="active">1</property>
|
<property name="active">1</property>
|
||||||
<property name="group">button3</property>
|
<property name="group">button3</property>
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<layout>
|
<layout>
|
||||||
<property name="left_attach">3</property>
|
<property name="left_attach">3</property>
|
||||||
@ -53,7 +49,6 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkSwitch" id="button5">
|
<object class="GtkSwitch" id="button5">
|
||||||
<property name="active">1</property>
|
<property name="active">1</property>
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<layout>
|
<layout>
|
||||||
<property name="left_attach">4</property>
|
<property name="left_attach">4</property>
|
||||||
@ -63,7 +58,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSwitch" id="button6">
|
<object class="GtkSwitch" id="button6">
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<child internal-child="accessible">
|
<child internal-child="accessible">
|
||||||
<object class="AtkObject" id="button6-accessible">
|
<object class="AtkObject" id="button6-accessible">
|
||||||
@ -78,7 +72,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="button7">
|
<object class="GtkButton" id="button7">
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<property name="label">Text Button</property>
|
<property name="label">Text Button</property>
|
||||||
<layout>
|
<layout>
|
||||||
@ -89,7 +82,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="button8">
|
<object class="GtkButton" id="button8">
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
@ -101,7 +93,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="button9">
|
<object class="GtkButton" id="button9">
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="receives_default">1</property>
|
<property name="receives_default">1</property>
|
||||||
<property name="halign">center</property>
|
<property name="halign">center</property>
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkCalendar" id="calendar1">
|
<object class="GtkCalendar" id="calendar1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="box1">
|
<object class="GtkBox" id="box1">
|
||||||
<child>
|
<child>
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
<property name="page-increment">5.0</property>
|
<property name="page-increment">5.0</property>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="box1">
|
<object class="GtkBox" id="box1">
|
||||||
<child>
|
<child>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkExpander" id="expander1">
|
<object class="GtkExpander" id="expander1">
|
||||||
<property name="label" translatable="yes">Reveal this</property>
|
<property name="label" translatable="yes">Reveal this</property>
|
||||||
|
@ -2,12 +2,10 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="button1">
|
<object class="GtkButton" id="button1">
|
||||||
<property name="label" translatable="yes">Hello World!</property>
|
<property name="label" translatable="yes">Hello World!</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">True</property>
|
<property name="receives_default">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
</data>
|
</data>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkIconView" id="iv1">
|
<object class="GtkIconView" id="iv1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkInfoBar" id="bar1">
|
<object class="GtkInfoBar" id="bar1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="label1">
|
<object class="GtkLabel" id="label1">
|
||||||
<property name="label">Go to the <a href="http://www.gtk.org" title="<i>Our</i> website">GTK+ website</a> or <small>><a href="http://www.google.com">google it</a></small></property>
|
<property name="label">Go to the <a href="http://www.gtk.org" title="<i>Our</i> website">GTK+ website</a> or <small>><a href="http://www.google.com">google it</a></small></property>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="label1">
|
<object class="GtkLabel" id="label1">
|
||||||
<property name="label">Go to the <a href="http://www.gtk.org" title="<i>Our</i> website">GTK+ website</a> or <small>><a href="http://www.google.com">google it</a></small></property>
|
<property name="label">Go to the <a href="http://www.gtk.org" title="<i>Our</i> website">GTK+ website</a> or <small>><a href="http://www.google.com">google it</a></small></property>
|
||||||
|
@ -2,12 +2,10 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLinkButton" id="button1">
|
<object class="GtkLinkButton" id="button1">
|
||||||
<property name="label" translatable="yes">Hello World!</property>
|
<property name="label" translatable="yes">Hello World!</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="uri">http://www.gtk.org</property>
|
<property name="uri">http://www.gtk.org</property>
|
||||||
<property name="visited">True</property>
|
<property name="visited">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="box1">
|
<object class="GtkBox" id="box1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLockButton" id="button1">
|
<object class="GtkLockButton" id="button1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -10,10 +10,8 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkMenuButton" id="menubutton">
|
<object class="GtkMenuButton" id="menubutton">
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="popover">menu</property>
|
<property name="popover">menu</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
@ -9,10 +9,8 @@
|
|||||||
</section>
|
</section>
|
||||||
</menu>
|
</menu>
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkMenuButton" id="menubutton">
|
<object class="GtkMenuButton" id="menubutton">
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="menu-model">menu</property>
|
<property name="menu-model">menu</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="box1">
|
<object class="GtkBox" id="box1">
|
||||||
<child>
|
<child>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="box1">
|
<object class="GtkBox" id="box1">
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkProgressBar" id="progress1">
|
<object class="GtkProgressBar" id="progress1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
<object class="GtkGrid" id="grid1">
|
<object class="GtkGrid" id="grid1">
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkScale" id="scale1">
|
<object class="GtkScale" id="scale1">
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="adjustment">adjustment1</property>
|
<property name="adjustment">adjustment1</property>
|
||||||
<layout>
|
<layout>
|
||||||
<property name="left_attach">0</property>
|
<property name="left_attach">0</property>
|
||||||
@ -22,7 +21,6 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkScrollbar" id="scrollbar1">
|
<object class="GtkScrollbar" id="scrollbar1">
|
||||||
<property name="can_focus">1</property>
|
|
||||||
<property name="adjustment">adjustment1</property>
|
<property name="adjustment">adjustment1</property>
|
||||||
<layout>
|
<layout>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
|
@ -9,12 +9,10 @@
|
|||||||
<property name="page_increment">10</property>
|
<property name="page_increment">10</property>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkScale" id="scale1">
|
<object class="GtkScale" id="scale1">
|
||||||
<property name="width-request">100</property>
|
<property name="width-request">100</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="adjustment">adjustment1</property>
|
<property name="adjustment">adjustment1</property>
|
||||||
<property name="round_digits">1</property>
|
<property name="round_digits">1</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSpinner" id="spinner1">
|
<object class="GtkSpinner" id="spinner1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<!-- interface-requires gtk+ 3.0 -->
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStatusbar" id="statusbar1">
|
<object class="GtkStatusbar" id="statusbar1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -6,11 +6,9 @@
|
|||||||
Did gyre and gimple in the wabe</property>
|
Did gyre and gimple in the wabe</property>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTextView" id="text1">
|
<object class="GtkTextView" id="text1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="buffer">buffer1</property>
|
<property name="buffer">buffer1</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
@ -13,11 +13,9 @@
|
|||||||
</data>
|
</data>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkWindow" id="window1">
|
<object class="GtkWindow" id="window1">
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeView" id="tv">
|
<object class="GtkTreeView" id="tv">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="model">store</property>
|
<property name="model">store</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeViewColumn" id="col">
|
<object class="GtkTreeViewColumn" id="col">
|
||||||
|
Loading…
Reference in New Issue
Block a user