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 f31c42d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 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
1 change: 0 additions & 1 deletion src/Library/demos/Accessibility/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ function toggleButton(button) {
// Grab the focus
button.grab_focus();
}

0 comments on commit f31c42d

Please sign in to comment.