Bug 156139 - Improve issue text when document starts with wrong outline level
Summary: Improve issue text when document starts with wrong outline level
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.4.5.1 release
Hardware: All All
: medium minor
Assignee: Balázs Varga (allotropia)
URL:
Whiteboard: target:24.2.0 target:7.6.0.2
Keywords: accessibility
Depends on:
Blocks: Accessibility-Check
  Show dependency treegraph
 
Reported: 2023-07-03 11:42 UTC by Samuel Mehrbrodt (allotropia)
Modified: 2023-07-20 23:37 UTC (History)
3 users (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 Samuel Mehrbrodt (allotropia) 2023-07-03 11:42:25 UTC
1. Open attachment 188179 [details]
2. Go to a11y check deck

There is an issue "A heading with outline level 2 must not follow a heading with outline level 0."

As there is no outline level 0, it should instead say: "Outline levels should start with level 1, instead of level n" in this specific case.

The text for the other case "A heading with outline level 4 must not follow a heading with outline level 2." should stay as it is.
Comment 1 Eyal Rozenberg 2023-07-03 11:52:39 UTC
Indeed, confirming. Will even venture a presumption and mark as NEW.
Comment 2 Eyal Rozenberg 2023-07-03 11:53:44 UTC
Probably an easyHack?
Comment 3 Michael Weghorn 2023-07-06 06:17:54 UTC
Dropping the "needsDevEval" keyword (and adding "accessibility" instead), since Balázs has self-assigned already.
Comment 4 Commit Notification 2023-07-19 07:46:54 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

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

tdf#156139 - A11Y - Improve issue text when document starts with wrong

It will be available in 24.2.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 5 Commit Notification 2023-07-20 23:37:11 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/f4b6daca3d7efe80d5ddc6050a132ee0023bae94

tdf#156139 - A11Y - Improve issue text when document starts with wrong

It will be available in 7.6.0.2.

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.