mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-06 16:19:07 -04:00
Add accessibility properties
This commit is contained in:
parent
d511b3f1e3
commit
b776163cd7
20 changed files with 324 additions and 13 deletions
7
tests/sample_errors/a11y_prop_dne.blp
Normal file
7
tests/sample_errors/a11y_prop_dne.blp
Normal file
|
@ -0,0 +1,7 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Widget {
|
||||
accessibility {
|
||||
not_a_prop: "Hello, world!";
|
||||
}
|
||||
}
|
1
tests/sample_errors/a11y_prop_dne.err
Normal file
1
tests/sample_errors/a11y_prop_dne.err
Normal file
|
@ -0,0 +1 @@
|
|||
5,5,10,'not_a_prop' is not an accessibility property, relation, or state
|
7
tests/sample_errors/a11y_prop_obj_dne.blp
Normal file
7
tests/sample_errors/a11y_prop_obj_dne.blp
Normal file
|
@ -0,0 +1,7 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Widget {
|
||||
accessibility {
|
||||
labelled_by: not_an_object;
|
||||
}
|
||||
}
|
1
tests/sample_errors/a11y_prop_obj_dne.err
Normal file
1
tests/sample_errors/a11y_prop_obj_dne.err
Normal file
|
@ -0,0 +1 @@
|
|||
5,18,13,Could not find object with ID not_an_object
|
7
tests/sample_errors/a11y_prop_type.blp
Normal file
7
tests/sample_errors/a11y_prop_type.blp
Normal file
|
@ -0,0 +1,7 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Widget {
|
||||
accessibility {
|
||||
orientation: 1;
|
||||
}
|
||||
}
|
1
tests/sample_errors/a11y_prop_type.err
Normal file
1
tests/sample_errors/a11y_prop_type.err
Normal file
|
@ -0,0 +1 @@
|
|||
5,18,1,Cannot convert 1 to Gtk.Orientation
|
3
tests/sample_errors/obj_class_dne.blp
Normal file
3
tests/sample_errors/obj_class_dne.blp
Normal file
|
@ -0,0 +1,3 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
NotARealWidget {}
|
Loading…
Add table
Add a link
Reference in a new issue