mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Allow for multiple a11y properties
This commit is contained in:
parent
b308adc3af
commit
3dfce3bbe0
10 changed files with 103 additions and 7 deletions
9
tests/sample_errors/a11y_list_empty.blp
Normal file
9
tests/sample_errors/a11y_list_empty.blp
Normal file
|
@ -0,0 +1,9 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Box {
|
||||
accessibility {
|
||||
label: _("Hello, world!");
|
||||
labelled-by: [];
|
||||
checked: true;
|
||||
}
|
||||
}
|
1
tests/sample_errors/a11y_list_empty.err
Normal file
1
tests/sample_errors/a11y_list_empty.err
Normal file
|
@ -0,0 +1 @@
|
|||
6,5,11,'labelled-by' may not be empty
|
15
tests/sample_errors/a11y_non_list_property.blp
Normal file
15
tests/sample_errors/a11y_non_list_property.blp
Normal file
|
@ -0,0 +1,15 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Box {
|
||||
accessibility {
|
||||
label: _("Hello, world!");
|
||||
active-descendant: [my_label1, my_label2, my_label3];
|
||||
checked: true;
|
||||
}
|
||||
}
|
||||
|
||||
Label my_label1 {}
|
||||
|
||||
Label my_label2 {}
|
||||
|
||||
Label my_label3 {}
|
1
tests/sample_errors/a11y_non_list_property.err
Normal file
1
tests/sample_errors/a11y_non_list_property.err
Normal file
|
@ -0,0 +1 @@
|
|||
6,5,17,'active-descendant' does not allow a list of values
|
Loading…
Add table
Add a link
Reference in a new issue