info-overview: Label the system details that they make sense with a screen reader
Before this, the user could easily only access the property values, not te names or group titles.
This commit is contained in:
parent
c2ef0f6e5e
commit
8c361e28cc
2 changed files with 15 additions and 2 deletions
|
@ -1,9 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="CcInfoEntry" parent="GtkBox">
|
||||
<property name="accessible-role">group</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="margin-top">6</property>
|
||||
<property name="margin-bottom">6</property>
|
||||
<accessibility>
|
||||
<relation name="labelled-by">prop</relation>
|
||||
<property name="label">Info entry</property>
|
||||
</accessibility>
|
||||
|
||||
<!-- Prop -->
|
||||
<child>
|
||||
|
|
|
@ -51,14 +51,18 @@
|
|||
<!-- Hardware Information -->
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="accessible-role">group</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="margin-top">6</property>
|
||||
<property name="margin-bottom">6</property>
|
||||
<property name="margin-start">6</property>
|
||||
<property name="margin-end">6</property>
|
||||
<accessibility>
|
||||
<relation name="labelled-by">hardware_info_label</relation>
|
||||
</accessibility>
|
||||
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<object class="GtkLabel" id="hardware_info_label">
|
||||
<property name="label" translatable="yes">Hardware Information</property>
|
||||
<property name="halign">start</property>
|
||||
<attributes>
|
||||
|
@ -108,14 +112,18 @@
|
|||
<!-- Software Information -->
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="accessible-role">group</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="margin-top">6</property>
|
||||
<property name="margin-bottom">6</property>
|
||||
<property name="margin-start">6</property>
|
||||
<property name="margin-end">6</property>
|
||||
<accessibility>
|
||||
<relation name="labelled-by">software_info_label</relation>
|
||||
</accessibility>
|
||||
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<object class="GtkLabel" id="software_info_label">
|
||||
<property name="label" translatable="yes">Software Information</property>
|
||||
<property name="halign">start</property>
|
||||
<attributes>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue