Commit 54aa38fd authored by Peter Vágner's avatar Peter Vágner

a11y: add missing accessible names to text formatting button, markdown

switch and change the accessible name for the room add menu button
(fixes #243)
parent 46125b70
......@@ -253,6 +253,11 @@
<property name="icon_name">go-bottom-symbolic</property>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject" id="scroll_btn-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Scroll to bottom</property>
</object>
</child>
<style>
<class name="osd"/>
<class name="scroll_button"/>
......@@ -315,6 +320,14 @@
<property name="icon_name">format-justify-left-symbolic</property>
</object>
</child>
<accessibility>
</accessibility>
<child internal-child="accessible">
<object class="AtkObject" id="a11y-markdown_button">
<property name="AtkObject::accessible_name" translatable="yes">Text formatting</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
......@@ -1027,7 +1040,7 @@
</accessibility>
<child internal-child="accessible">
<object class="AtkObject" id="a11y-add_room_menu">
<property name="AtkObject::accessible_name" translatable="yes">User</property>
<property name="AtkObject::accessible_name" translatable="yes">Add</property>
</object>
</child>
</object>
......
......@@ -22,10 +22,13 @@
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<child>
<object class="GtkLabel">
<object class="GtkLabel" id="markdown_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Markdown</property>
<accessibility>
<relation type="label-for" target="markdown_switch"/>
</accessibility>
</object>
<packing>
<property name="expand">False</property>
......@@ -38,6 +41,9 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="margin_left">42</property>
<accessibility>
<relation type="labelled-by" target="markdown_label"/>
</accessibility>
</object>
<packing>
<property name="expand">False</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment