Details
-
Bug
-
Resolution: Fixed
-
Minor
-
10.8
-
Unknown
-
N/A
-
N/A
-
Description
AFFECTS:
- xwiki:Main.WebHome (en, fr, ca, pt_BR)
- xwiki:XWiki.AccountValidation (redirects to Main.WebHome)
ERROR:
- org.xwiki.test.webstandards.CustomDutchWebGuidelinesValidationTest.Validating HTML5 Dutch Web Guidelines validity for: xwiki:Main.WebHome executed with credentials Admin:admin (from org.xwiki.test.webstandards.AllTests)
- ERROR: At least one table has been found that uses no th element.
- ERROR: No headers or id attributes have been found. When not using these be advised to use the scope attribute instead to associate table labels (<th> cells) with columns and rows. (see R-pd.11.4).
INVALIDATES:
- Dutch Guidelines: {{validateRpd11s2() validateRpd11s5() }}
- https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-tools/xwiki-platform-tool-standards-validator/src/main/java/org/xwiki/validator/DutchWebGuidelinesValidator.java#L1065
- https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-tools/xwiki-platform-tool-standards-validator/src/main/java/org/xwiki/validator/DutchWebGuidelinesValidator.java#L1116
- R-pd.11.2 "Use the th (table header) to describe a column or row in a table with relational information."
- R-pd.11.5 "Use the headers and id attributes to associate table labels (th cells) with individual cells in complex tables."
EXPLANATION:
- Data tables should contain a header
Tables which contain data (as opposed to layout tables) should contain proper table header elements to mark them for screen readers and enhance the structure of the document.
FIXES:
- VAR1: TH + add "scope" attribute + adjust styling for table header to remove the border and spacing + apply to translations pages
- VAR2: Replace the table with divs, since this is not a data table. Use grid or floating containers
Attachments
Issue Links
- is related to
-
XWIKI-15599 Dutch Web Guidelines checks are not executed anymore
- Closed
-
CKEDITOR-283 Cannot add content after a DIV located at the end of the document
- Closed
-
TOUR-64 "Scope" attribute missing for #stepsContainer table headers
- Closed
-
XWIKI-15684 iFrames usage is discouraged by WCAG
- Closed
-
XWIKI-15707 "Scope" attribute missing for .notifPreferences table headers
- Closed
-
XWIKI-15710 Table on Sandbox.WebHome is missing the header
- Closed
-
XWIKI-16143 Table on viewer source is missing the header
- Closed
-
XWIKI-14858 Simplify the wiki syntax from the home page
- Open
- relates to
-
CKEDITOR-289 Horizontal scrollbar on pages that use Bootstap grid in wysiwyg mode
- Closed