office-gobmx/test/source
Michael Weghorn f44eae4912 tdf#135586 a11y: Add a new BLOCK_QUOTE a11y role
A block quote role exists in all of WAI-ARIA 1.3
(role "blockquote", [1]), IAccessible2
(`IA2_ROLE_BLOCK_QUOTE`,  [2]) and AT-SPI
(`ROLE_BLOCK_QUOTE`, [3]).

Take over the definition that is the same in WAI-ARIA
and IAccessible2:

> A section of content that is quoted from another source.

The intended use for now is for a Writer paragraph using
the "Block Quotation" paragraph style, similar to how the
HEADING role is used for paragraphs using a corresponding
paragraph style.

For gtk3 (ATK) and winaccessibility (IAccessible2),
map the new role to the equivalant roles.

For macOS and the gtk4 as well as the Qt-based VCL plugins
on Linux which currently don't have an equivalent role,
fall back to the same role that the PARAGRAPH role is
mapped to.
This way, the behavior there will remain unchanged
once the BLOCK_QUOTE role is used for Writer paragraphs
with the corresponding style.

In general, treat BLOCK_QUOTE like PARAGRAPH
in code applying special handling for the PARAGRAPH
role.

[1] https://w3c.github.io/aria/#blockquote
[2] 3d8c7f0b83/api/AccessibleRole.idl (L318)
[3] 7cc4cee53d/xml/Accessible.xml (L615-616)

Change-Id: I248c183a2e7ec5d6f0a89bf3cb4829bbd8588c77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158573
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-10-28 05:45:15 +02:00
..
a11y tdf#135586 a11y: Add a new BLOCK_QUOTE a11y role 2023-10-28 05:45:15 +02:00
beans
chart
container
diff
document
drawing
helper
lang
sheet
style
table
text
util
view
bootstrapfixture.cxx
callgrind.cxx
htmltesttools.cxx
isheadless.hxx
lokcallback.cxx
screenshot_test.cxx
setupvcl.cxx
setupvcl.hxx
unoapi_property_testers.cxx
unoapi_test.cxx
unoapixml_test.cxx
vclbootstrapprotector.cxx
xmltesttools.cxx