Bug #103991
closedA11y: Lit Element tree: improve aria-attributes and span/div cascading (Pagetree, Categorytree etc.)
100%
Description
There are some minor errors in the html-structure of the Lit Element tree (Pagetree, Categorytree etc.) which can be improved.
I used https://validator.w3.org/nu/#textarea and copied the rendered HTML from the TYPO3 backend into it:
Error: Bad value for attribute aria-owns on element div: An IDREFS value must contain at least one non-whitespace character.¶
<div role="treeitem" … class="node" … aria-owns="" …>
Error: Bad value for attribute aria-expanded on element div.¶
<div role="treeitem" … class="node" … aria-expanded="" …>
Error: Bad value 0 for attribute aria-level on element div: Zero is not a positive integer.¶
<div role="treeitem" … class="node" title="uid=0 Category" aria-level="0" … data-id="0" data-tree-id="0" …>↩
Error: Element div not allowed as child of element span in this context. (Suppressing further errors from this subtree.)¶
<div class="node-treeline node-treeline--last" data-origin="0"></div>
<div class="node-contentlabel">
Contexts in which element div may be used:
Where flow content is expected.
As a child of a dl element.Content model for element span:
Phrasing content.
Updated by Ayke Halder 8 months ago
- Related to Task #93773: Move SVG Tree to Lit Elements added
Updated by Gerrit Code Review 8 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84516
Updated by Ayke Halder 8 months ago
- Subject changed from A11y: SVG tree improvement aria-attributes and span/div cascading (Pagetree, Categorytree etc.) to A11y: Lit components tree: improve aria-attributes and span/div cascading (Pagetree, Categorytree etc.)
Updated by Ayke Halder 8 months ago
- Subject changed from A11y: Lit components tree: improve aria-attributes and span/div cascading (Pagetree, Categorytree etc.) to A11y: Lit Element tree: improve aria-attributes and span/div cascading (Pagetree, Categorytree etc.)
Updated by Gerrit Code Review 8 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84516
Updated by Gerrit Code Review 8 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84516
Updated by Gerrit Code Review about 1 month ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84516
Updated by Gerrit Code Review about 1 month ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84516
Updated by Gerrit Code Review about 1 month ago
Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87560
Updated by Ayke Halder about 1 month ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e3b4bc1a163f7e05715d557b7db693caf4f1af03.