+
Skip to content

Conversation

clintcs
Copy link
Collaborator

@clintcs clintcs commented Sep 18, 2025

🚀 Description

Patch

The role attribute of Select's target is now "listbox" instead of "menu".

📋 Checklist

  • I have followed the Contributing Guidelines.
  • I have added tests to cover new or updated functionality.
  • I have added or updated Storybook stories.
  • I have localized new strings.
  • I have followed the ARIA Authoring Practices Guide or met with the Accessibility Team.
  • I have included a changeset.
  • I have scheduled a design review.
  • I have reviewed the Storybook and Visual Test Report links below.

🔬 Manual Testing

  1. Navigate to Select in Storybook.
  2. Verify the role of Select's target is "listbox".
  3. Navigate to Menu in Storybook.
  4. Verify the role of Menu target is "true".

Copy link

changeset-bot bot commented Sep 18, 2025

🦋 Changeset detected

Latest commit: 8647466

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

This PR includes changesets to release 1 package
Name Type
@crowdstrike/glide-core 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

expect(target?.role).to.equal('button');
});

it('is accessible when Options is a menu', async () => {
Copy link
Collaborator Author

@clintcs clintcs Sep 18, 2025

Choose a reason for hiding this comment

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

These tests names are wack. But they're in line with the other tests. I'll rework them, of course, when (one day) I migrate Menu's tests to Playwright.

@clintcs clintcs force-pushed the fix-menu-accessibility-bug branch from 001d7fe to 8647466 Compare September 18, 2025 12:41
@clintcs clintcs marked this pull request as ready for review September 18, 2025 12:51
@clintcs clintcs added this pull request to the merge queue Sep 18, 2025
Merged via the queue into main with commit 4eaf4e0 Sep 18, 2025
25 checks passed
@clintcs clintcs deleted the fix-menu-accessibility-bug branch September 18, 2025 14:01
@github-actions github-actions bot mentioned this pull request Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载