Skip to content

Conversation

TylerJDev
Copy link
Member

Closes https://github.com/github/primer/issues/2734

Adds aria-disabled to "Next" and "Previous" buttons in DataTable. This allows AT to be informed of the button's state when it is inactive.

Changelog

Changed

Added aria-disabled state to "Next" and "Previous" buttons when first or last page has been reached.

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan

Testing & Reviewing

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews (Storybook)
  • Changes are SSR compatible
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@changeset-bot
Copy link

changeset-bot bot commented Oct 24, 2023

🦋 Changeset detected

Latest commit: 57aaa07

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 104.62 KB (0%)
dist/browser.umd.js 105.2 KB (0%)

@TylerJDev TylerJDev temporarily deployed to github-pages October 24, 2023 19:57 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3862 October 24, 2023 19:57 Inactive
@joshblack
Copy link
Member

Thanks for this @TylerJDev! Could you also make a PR to update the spec over at: https://github.com/github/primer/blob/main/apis/data-table-api.md if you have the time? If not, totally understand 👍

@TylerJDev
Copy link
Member Author

TylerJDev commented Oct 25, 2023

@joshblack, definitely! I'll add it to the spec 😁

edit: Created a PR to add to the spec: https://github.com/github/primer/pull/2805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants