-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Bugfix/table cells interactive focusable #2194
Bugfix/table cells interactive focusable #2194
Conversation
🦋 Changeset detectedLatest commit: 234c143 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@Mahmoud-zino I think you're on the right track, but we need to account for a11y here too. While changing the The WAI APG define two types of grid-based UI patterns:
I think we'll likely also need to modify following two roles:
I'm also questioning if we should introduce I originally tested stuff like this using this Chrome Extension. Feel free to use it to double check: |
@ryceg I know you're fairly knowledgable with the a11y stuff, so I'd welcome your input here as well |
@endigo9740 I think it is better to separate the components to grid / table and handling all ARIA rules for each one of them instead of trying to handle both in the same component |
@Mahmoud-zino if it's only the couple things mentioned I don't think separate components would be needed. Honestly most of the ARIA stuff overlaps as far as I can tell. Anything further abstraction would just make these harder to maintain over time. |
Hey @Mahmoud-zino, I'm doing PR reviews on Sundays now. Just checking in on this. As far as I can tell we should just need to modify the tools per the requirements I mentioned above. I'll aim to check in on this again Tuesday before the new release. Thanks! |
@endigo9740 I implemented the roles you mentioned and gone through the ARIA articles and implemented those that are not redundant roles. |
Linked Issue
Closes #2168
Description
table cells are focusable only in interactive mode.
Changsets
Instructions: Changesets automate our changelog. If you modify files in
/packages/skeleton
, runpnpm changeset
in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should beminor
while chores and bugfixes should bepatch
. Please prefix the changeset message withfeat:
,bugfix:
orchore:
.Checklist
Please read and apply all contribution requirements.
dev
branch (NEVERmaster
)docs/
,feat/
,chore/
,bugfix/
pnpm check
pnpm format
pnpm test