Bug 150947 - a11y: Add accessibility to the visible bookmarks
Summary: a11y: Add accessibility to the visible bookmarks
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0 inReleaseNotes:7.5
Keywords: accessibility
Depends on:
Blocks: Writer-UX Bookmarks
  Show dependency treegraph
 
Reported: 2022-09-14 09:20 UTC by László Németh
Modified: 2022-12-04 22:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description László Németh 2022-09-14 09:20:15 UTC
Description:
Visible i.e. enabled bookmarks (Tools->Options...->LibreOffice Writer->Formatting Aids->Bookmarks) are not visible for screen readers.


Steps to Reproduce:
1. Start LibreOffice with SW_DEBUG=1 soffice
2. Open a file with visible bookmarks
3. Press F12 to dump layout.xml


Actual Results:
No text content for bookmark portions in layout.xml, e.g.

<Special nLength="0" nType="PortionType::Bookmark" rText="" nHeight="274"/>
<Special nLength="0" nType="PortionType::Bookmark" rText="" nHeight="274"/>

Expected Results:
<Special nLength="0" nType="PortionType::Bookmark" rText="#BookmarkName Bookmark Start " nHeight="274"/>
<Special nLength="0" nType="PortionType::Bookmark" rText="#BookmarkName Bookmark End " nHeight="274"/>


Reproducible: Always


User Profile Reset: No



Additional Info:
See also Bug 45589.
Comment 1 Commit Notification 2022-09-16 09:34:18 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/5e71ec6aa0d4f9971f5e2b6f7091d18668c2f0b9

tdf#150790 tdf#150791 tdf#150947 tdf#150956 sw, a11y: fix visible bookmarks

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 NISZ LibreOffice Team 2022-09-27 09:23:26 UTC
Verified in:
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d3050ff4a1355f7ebd3d4e7ddc8fb64f2b8894dd
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL threaded