[UI5 Table]: The UI5 Table component does not support caption feature
Bug Description
The UI5 Table component https://sap.github.io/ui5-webcomponents/components/Table/ does not support the
Affected Component
UI5 Table
Expected Behaviour
The UI5 Table component at https://sap.github.io/ui5-webcomponents/components/Table/ to support the
Isolated Example
No response
Steps to Reproduce
- See current implementation https://sap.github.io/ui5-webcomponents/components/Table/
- See expected behavior https://sap.levelaccess.net/public/standards/view_best_practice.php?violation_id=415
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
latest
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
- [x] I’m not disclosing any internal or sensitive information.
Hello colleagues @SAP/ui5-webcomponents-table ,
According to the reported there is a missing API in the ui5-table for providing brief descriptive text and/or title about the ui5-table's contents.
In the provided public links, there is a recommendation to use a caption elements.
Could you please, take over ?
Best Regards, Stoyan
Hello @lv-sap ,
for the purpose of labelling the table we are using the ARIA mechanisms. The aria-label and aria-labelledby properties are set on DOM level depending on the usage of the properties accessiblename and accessiblenameRef of the table WebComponent. This should be equivalent to the use of the native HTML table and caption elements.
see e.g. https://sap.github.io/ui5-webcomponents/components/Table/#accessiblename
Best Regards Jens
This issue has been closed. To reopen, just leave a comment!