Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research table accessibility #1508

Open
1 task
nakayan5 opened this issue May 12, 2024 · 3 comments
Open
1 task

Research table accessibility #1508

nakayan5 opened this issue May 12, 2024 · 3 comments
Assignees
Labels
a11y This issue is related to accessibility discussion Further discussion required

Comments

@nakayan5
Copy link
Member

nakayan5 commented May 12, 2024

Description

read this article and research table accessibility

modify component if necessary

Problem Statement/Justification

none

Proposed Solution or API

No response

Alternatives

Are you willing to participate in implementing this feature and create a pull request include the implementation?

None

Additional Information

No response

@nakayan5 nakayan5 added discussion Further discussion required a11y This issue is related to accessibility labels May 12, 2024
@nakayan5 nakayan5 self-assigned this May 12, 2024
@nakayan5
Copy link
Member Author

@GensIto
assign you to this issue too.
please comment if you confirm.

@nakayan5
Copy link
Member Author

nakayan5 commented May 15, 2024

@yamada-ui/table is applicable to this issue

Keyboard Interaction
Not applicable.

WAI-ARIA Roles, States, and Properties

  • The table container has role table.
  • Each row container has role row and is either a DOM descendant of or owned by the table element or an element with role rowgroup.
  • Each cell is either a DOM descendant of or owned by a row element and has one of the following roles:
    • columnheader if the cell contains a title or header information for the column.
    • rowheader if the cell contains title or header information for the row.
    • cell if the cell does not contain column or row header information.
  • If there is an element in the user interface that serves as a label for the table, aria-labelledby is set on the table element with a value that refers to the labelling element. Otherwise, a label is specified for the table element using aria-label.
  • If the table has a caption or description, aria-describedby is set on the table element with a value referring to the element containing the description.
  • If the table contains sortable columns or rows, aria-sort is set to an appropriate value on the header cell element for the sorted column or row as described in the Grid and Table Properties Practice.
  • If there are conditions where some rows or columns are hidden or not present in the DOM, e.g., there are widgets on the page for hiding rows or columns, the following properties are applied as described in the Grid and Table Properties Practice.
  • If the table includes cells that span multiple rows or multiple columns, then aria-rowspan or aria-colspan is applied as described in the Grid and Table Properties Practice.

@nakayan5
Copy link
Member Author

created issue
#1635

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y This issue is related to accessibility discussion Further discussion required
Projects
None yet
Development

No branches or pull requests

1 participant