ARIA labels for tables

Comments

4 comments

  • Avatar
    Tiffany Stull

    Why would you need an aria-label for a basic table, and is aria-label even the attribute you want?  It looks like what you want is aria-describedby: https://www.w3.org/WAI/tutorials/tables/caption-summary/#using-aria-describedby-to-provide-a-table-summary

    My guess is that the desired feature (and it might even be considered a bug that ScreenSteps doesn't allow it to be included in its tables) is the ability to add a table captionhttps://www.w3.org/WAI/tutorials/tables/caption-summary/#identifying-a-table-using-a-caption

    The key features of a basic table are proper headers with appropriate scope attributes; examples:

    https://www.w3.org/TR/WCAG20-TECHS/H63.html

    https://webaim.org/techniques/tables/data

    If ScreenSteps tables don't have proper scope attributes (and in fact it looks like they do not!), it's a bug which needs to be addressed as soon as possible.

    0
    Comment actions Permalink
  • Avatar
    Lori Arthur-Carmichael

    Tiffany -- that's exactly it. If I could add a visible table caption, that would eliminate the need for any aria attributes.

    1
    Comment actions Permalink
  • Avatar
    Tiffany Stull

    Hi Lori, it might be helpful to update the feature request to clarify that you'd like the text in the requested feature to be rendered as a <caption> element.

    0
    Comment actions Permalink
  • Avatar
    Tiffany Stull

    Adding a vote at the top, even though I think the implementation would be better as a <caption> element, because the vote doesn't show up if added on a comment.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk