Matthias Clasen
5732c5e3d0
label: Add tests for gtk_accessible_text_get_offset
...
Test that we get the expected values on a label.
2024-04-04 01:05:38 +02:00
Emmanuele Bassi
9aa90f8df0
Rename GtkAccessibleText private header
...
Follow the existing naming convention, and drop the hyphen.
2024-03-05 11:00:20 +00:00
Markus Göllnitz
ab9106ac89
testsuite: test for implementation of accessible_text_get_contents_at
...
Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-03-03 19:13:40 +01:00
Matthias Clasen
e9f311e6b6
Test the accessible implementation for GtkLabel
2024-02-20 13:53:08 -05:00
Matthias Clasen
7df9cc1b47
label: Stop overriding accessible label
...
There's no need to, the accessible name computation
picks the content up where it is allowed (and not
overridden by explicit attributes).
2023-06-19 12:38:51 -04:00
Emmanuele Bassi
c264254d4b
a11y: Parse reference lists using varargs
...
Using GList is a bit lame, and makes the API more complicated to use
than necessary in the common case.
The only real use case for a GList is gtk_widget_add_mnemonic_label(),
and for that we can use the GValue-based API instead.
Fixes : #3343
2020-11-10 14:31:56 +00:00
Matthias Clasen
b10d5ec8ff
a11y: Add a test for label properties
...
Now that we set the label property, we should test it too.
2020-10-20 00:25:39 -04:00
Matthias Clasen
2040b7ecdf
a11y: Set an accessible role for GtkLabel
...
Use the label accessible role for GtkLabel. ARIA has some
ominous wording about it going way, but while we have it,
GtkLabel is the obvious candidate for carrying it.
Update the documentation and add a test.
2020-07-28 18:16:37 -04:00
Matthias Clasen
cc35cc6c4e
a11y: Add tests for mnemonics
...
We set up labelled-by accessible relations when
a label is set as mnemonic widget. Verify that that
happens as expected.
2020-07-28 18:16:37 -04:00