Bug 159384

Summary: A11y sidebar: simulated numbering warning in TOC if header numbering has dot
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: RESOLVED FIXED    
Severity: normal CC: buzea.bogdan
Priority: medium    
Version: 24.8.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard: target:24.8.0 target:7.6.5 target:24.2.1
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 154929    
Attachments: Example file from Writer
Screenshot of the issue in current master

Description Gabor Kelemen (allotropia) 2024-01-26 14:18:19 UTC
Created attachment 192178 [details]
Example file from Writer

Attached example document has a Heading 3 numbering style that has a dot following the number.
When this is included into a TOC the a11y sidebar complains about "simulated numbering" inside the TOC.

1. Open attached document
2. Open the accessibility sidebar
-> warning about the TOC having simulated numbering, but this is not a real issue.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ef6083200a4f28e43198c7a0878da6f4b880725f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2024-01-26 14:19:01 UTC
Created attachment 192179 [details]
Screenshot of the issue in current master
Comment 2 BogdanB 2024-01-27 15:36:24 UTC
Confirm with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2cedb1a19ad605df4e148589e9027512e4dd9265
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2024-01-30 10:25:26 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/24a3f8269e427875fbe8013f88e83fc41b90b33a

tdf#159384 - A11y: fix simulated numbering warning in TOC

It will be available in 24.8.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 4 Commit Notification 2024-01-30 12:46:53 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/211f6ff53715432af32a5e94923edd16ef9475cb

tdf#159384 - A11y: fix simulated numbering warning in TOC

It will be available in 7.6.5.

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 5 Commit Notification 2024-01-30 17:12:25 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

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

tdf#159384 - A11y: fix simulated numbering warning in TOC

It will be available in 24.2.1.

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.