Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 10.8
-
Fix Version/s: 11.1-rc-1
-
Component/s: Development Issues only, Distribution - Flavor, Help
-
Labels:
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
Description
AFFECTS:
- xwiki:Sandbox.WebHome (en, ca, da, de, es, fr, it, lv, pt_BR, ru, zh_TW, zh)
ERROR:
- org.xwiki.test.webstandards.CustomDutchWebGuidelinesValidationTest.Validating HTML5 Dutch Web Guidelines validity for: xwiki:Sandbox.WebHome
{pt_BR}
executed with credentials Admin:admin (from org.xwiki.test.webstandards.AllTests)
- ERROR: At least one table has been found that uses no th element.
INVALIDATES:
- Dutch Guidelines: {{validateRpd11s2() }}
- R-pd.11.2 "Use the th (table header) to describe a column or row in a table with relational information."
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. - The problem with this issue is that it's not a bug. The example showcase how a table looks like without a table header.
FIXES:
- VAR1: Add a hidden th for the table
- VAR2: Add an exception for this case in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/xwiki-platform-distribution-flavor-test-webstandards/src/test/it/org/xwiki/test/webstandards/CustomDutchWebGuidelinesValidator.java since the behaviour is intentional
Attachments
Issue Links
- is related to
-
XWIKI-16143 Table on viewer source is missing the header
-
- Closed
-
- relates to
-
TOUR-64 "Scope" attribute missing for #stepsContainer table headers
-
- Closed
-
-
XWIKI-15663 Table on Main.WebHome is missing the header
-
- Closed
-
-
XWIKI-15707 "Scope" attribute missing for .notifPreferences table headers
-
- Closed
-