Skip to content

Commit

Permalink
fix: correct relationships and "spacebar" description
Browse files Browse the repository at this point in the history
  • Loading branch information
andyholmes committed Sep 1, 2023
1 parent 1a73c63 commit 9bce8ff
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions src/Library/demos/Accessibility/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,22 @@ Adw.StatusPage {
[suffix] ShortcutLabel activate_shortcut {
accelerator: "space";
valign: center;
accessibility {
description: _("Spacebar");
}
}
}
}

Box group_box {
Box custom_group {
orientation: vertical;
margin-top: 18;
spacing: 18;
accessible-role: group;
accessibility {
labelled-by: group_label;
described-by: group_description;
}

Box {
Box group_header {
orientation: vertical;
spacing: 6;
accessible-role: group;

Label group_label {
label: _("Related Elements");
Expand All @@ -91,9 +90,14 @@ Adw.StatusPage {
}
}

Box custom_box {
Box group_box {
orientation: vertical;
spacing: 18;
accessible-role: group;
accessibility {
labelled-by: group_label;
described-by: group_description;
}
styles ["card"]

Adw.Bin custom_button {
Expand Down Expand Up @@ -122,7 +126,7 @@ Adw.StatusPage {
}
}

Box {
Box documentation_list {
orientation: vertical;
halign: center;
accessible-role: list;
Expand Down

0 comments on commit 9bce8ff

Please sign in to comment.