Skip to content
Commit 2610a7fb authored by Michael Weghorn's avatar Michael Weghorn
Browse files

a11y: Actually return line when requested

Previously, just the data for the word were returned
for the QAccessible::TextBoundaryType::LineBoundary case,
just like for QAccessible::TextBoundaryType::WordBoundary.

The QAccessible::TextBoundaryType::ParagraphBoundary case
already does what's needed, so use that for
QAccessible::TextBoundaryType::LineBoundary as well.

This makes the Orca screen reader announce the whole
line when moving between lines using the up/down arrow
key, instead of just annoucing the word.
(As a side note, the announcement is not 100% reliable,
but that's unrelated to this change.)
parent 990d87bd
Pipeline #490430 passed with stage
in 4 minutes and 48 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment