Skip to content

a11y: Add paragraph role

Add new GTK_ACCESSIBLE_ROLE_PARAGRAPH role for paragraphs.

ARIA has a paragraph role as well.

The paragraph role is used e.g. in document editors like LibreOffice or web browsers like Firefox.

According to the ARIA spec, naming paragraphs is forbidden (§ 5.2.8.6), and the superclass role is section.

This role will be more useful once a way to expose the textual data via the AT-SPI Text interface is also available (s. issue #5912 (closed)).

Corresponding demo change for LibreOffice to make use of the new role: https://gerrit.libreoffice.org/c/core/+/157241

Merge request reports