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

fix(ebay-table): update row-header attribute, removed aria-pressed #2387

Open
wants to merge 1 commit into
base: 15.0.0
Choose a base branch
from

Conversation

WinkeeFace
Copy link
Contributor

Description

Replaced column-type of row-header with a boolean row-header in the ebay-table component. Updated the relevant Marko and JSON files to reflect this change. Removed incorrectly used aria-pressed.

Context

This change was made to simplify the handling of row headers and improve ARIA accessibility. The boolean row-header is more intuitive and aligns better with accessibility standards.

References

Tests

  • Updated

@WinkeeFace WinkeeFace added this to the 15.0.0 milestone Jan 17, 2025
@WinkeeFace WinkeeFace self-assigned this Jan 17, 2025
Copy link

changeset-bot bot commented Jan 17, 2025

🦋 Changeset detected

Latest commit: 96b0ae6

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

This PR includes changesets to release 1 package
Name Type
@ebay/ebayui-core Minor

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

This was linked to issues Jan 17, 2025
Copy link
Contributor

@agliga agliga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pr looks good
One more comment we need to iron out

@@ -73,9 +74,7 @@ $ const {
sortEleAttr = { href };
} else if (sortOrder) {
sortEleAttr = {
type: "button",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I belive we still need to add an a11y text for screen readers to know what the sort order is.
Lets chat tomorrow

@agliga agliga force-pushed the 2313-ebay-table-various-fixes branch from b5ae6ed to 96b0ae6 Compare January 18, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Pull request
Development

Successfully merging this pull request may close these issues.

ebay-table: remove aria-pressed ebay-table: various fixes
2 participants