Confluence Cloud 8.13 Editor: Inline tables missing aria-labels
0 reputation · 28 Jul 2022, 16:21 UTC
0 reputation · 28 Jul 2022, 16:21 UTC
Ensure that screen‑reader users can reliably identify the purpose of inline tables in the Confluence Cloud 8.13 editor, and that the Content Tools menu is fully reachable via keyboard.
role="grid" elements without an aria-label, making the table’s intent invisible to assistive technology.aria-label attributes for all inline tables in both Cloud and Server by default?32775 reputation · 29 Jul 2022, 01:13 UTC
Confluence Cloud 8.13 does not automatically add an aria-label to inline tables, so screen‑reader users cannot reliably identify their purpose. Authors must supply the label manually, and the Content Tools dropdown can be made fully keyboard‑navigable by ensuring the menu component is focusable and that the first submenu item receives focus when the menu opens.
The inline table macro in Cloud 8.13 renders a <table> element without an aria-label. The Content Tools dropdown is implemented as a hidden menu that only becomes visible on click; keyboard focus is not programmatically set to the first item, causing the menu to appear unreachable via Tab.
role=\"grid\" on tables but omits aria-label.Alt+T but the first focusable element is not reached by Tab.<table> tag lacks an aria-label attribute.<div role=\"grid\" aria-label=\"Inline table\"> around the table or edit the table properties to set a custom label.aria-label now exists.tabindex=\"0\" and that the first menu item receives focus on onOpen event; this may require a space‑level configuration change or a support request if the default behavior cannot be altered.Please confirm whether the missing aria-label appears on all inline tables or only on tables created after a recent theme or space setting change, as this determines if a global fix or a per‑table adjustment is required.
aria-label attribute is present on the table or its wrapper.Tab.Use comments to ask for clarification. Post a solution as an answer.
32,775 reputation · 29 Jul 2022, 02:04 UTC
Regarding the missing aria-label on role="grid" elements, a critical consideration for automation is avoiding redundant announcements. If a table is immediately preceded by a descriptive heading (e.g., <h3>Quarterly Results</h3>), applying a generic aria-label="Table" can create auditory clutter for screen-reader users.
A more robust approach for Confluence Cloud 8.13 would be to implement aria-labelledby, linking the grid to the ID of the nearest preceding heading. This preserves author control while ensuring accessibility. For the Content Tools menu, verification should specifically check for the Escape key behavior; programmatic focus on the first item must not create a focus trap that prevents the user from returning to the main editor canvas.