general: Don't set some "Copy" buttons as activatable widgets

In rows that have a "Copy" button that is set as activatable
widget, Orca doesn't the buttons a11y label/tooltip; instead,
it reads "[row title] push button".

To fix this, don't set these buttons as activatable widgets.
This commit is contained in:
Automeris naranja 2024-05-13 20:15:37 -03:00
parent 192d32926d
commit 168e30a410
4 changed files with 6 additions and 12 deletions

View file

@ -75,14 +75,13 @@
<child>
<object class="AdwActionRow" id="personal_file_sharing_address_row">
<property name="title" translatable="yes">File Sharing _Address</property>
<property name="activatable-widget">copy_file_sharing_address_button</property>
<property name="use-underline">True</property>
<property name="use-markup">False</property>
<style>
<class name="property"/>
</style>
<child type="suffix">
<object class="GtkButton" id="copy_file_sharing_address_button">
<object class="GtkButton">
<property name="valign">center</property>
<property name="tooltip-text" translatable="yes">Copy</property>
<property name="icon-name">edit-copy-symbolic</property>

View file

@ -45,12 +45,11 @@
<object class="AdwActionRow" id="hostname_row">
<property name="title" translatable="yes">_Hostname</property>
<property name="use-underline">True</property>
<property name="activatable-widget">copy_address_button</property>
<style>
<class name="property"/>
</style>
<child type="suffix">
<object class="GtkButton" id="copy_address_button">
<object class="GtkButton">
<property name="tooltip-text" translatable="yes">Copy</property>
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>
@ -66,12 +65,11 @@
<object class="AdwActionRow" id="port_row">
<property name="title" translatable="yes">_Port</property>
<property name="use-underline">True</property>
<property name="activatable-widget">copy_port_button</property>
<style>
<class name="property"/>
</style>
<child type="suffix">
<object class="GtkButton" id="copy_port_button">
<object class="GtkButton">
<property name="tooltip-text" translatable="yes">Copy</property>
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>

View file

@ -44,12 +44,11 @@
<object class="AdwActionRow" id="hostname_row">
<property name="title" translatable="yes">_Hostname</property>
<property name="use-underline">True</property>
<property name="activatable-widget">copy_address_button</property>
<style>
<class name="property"/>
</style>
<child type="suffix">
<object class="GtkButton" id="copy_address_button">
<object class="GtkButton">
<property name="tooltip-text" translatable="yes">Copy</property>
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>
@ -65,12 +64,11 @@
<object class="AdwActionRow" id="port_row">
<property name="title" translatable="yes">_Port</property>
<property name="use-underline">True</property>
<property name="activatable-widget">copy_port_button</property>
<style>
<class name="property"/>
</style>
<child type="suffix">
<object class="GtkButton" id="copy_port_button">
<object class="GtkButton">
<property name="tooltip-text" translatable="yes">Copy</property>
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>

View file

@ -39,13 +39,12 @@
<child>
<object class="AdwActionRow" id="hostname_row">
<property name="title" translatable="yes">SSH Login _Command</property>
<property name="activatable-widget">copy_ssh_login_command_button</property>
<property name="use-underline">True</property>
<style>
<class name="property"/>
</style>
<child type="suffix">
<object class="GtkButton" id="copy_ssh_login_command_button">
<object class="GtkButton">
<property name="valign">center</property>
<property name="tooltip-text" translatable="yes">Copy</property>
<property name="icon-name">edit-copy-symbolic</property>