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(hooks): [use-focus-controller] remove unnecessary role attributes #13749

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

tolking
Copy link
Member

@tolking tolking commented Jul 28, 2023

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow contributing guide English | (中文 | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

Description

🤖 Generated by Copilot at a606c2a

Removed use-focus-controller hook and its usage from components. This fixes a bug where the role attribute was incorrectly applied to non-interactive elements, affecting accessibility.

Related Issue

Fixes #___.

Explanation of Changes

🤖 Generated by Copilot at a606c2a

  • Remove code that adds role attribute to non-interactive elements (link) to fix accessibility issues with focus controller component

@github-actions
Copy link

github-actions bot commented Jul 28, 2023

@github-actions github-actions bot added the CommitMessage::Qualified Qualified commit message label Jul 28, 2023
@github-actions
Copy link

🧪 Playground Preview: https://element-plus.run/?pr=13749
Please comment the example via this playground if needed.

@tolking tolking changed the title fix(hooks): [a11y] remove unnecessary role attributes fix(hooks): [use-focus-controller] remove unnecessary role attributes Jul 28, 2023
@tolking tolking merged commit 014a99e into dev Jul 28, 2023
13 checks passed
@tolking tolking deleted the fix/focus-controller branch July 28, 2023 13:25
@element-bot element-bot mentioned this pull request Aug 4, 2023
3 tasks
consultation-applio pushed a commit to consultation-applio/element-plus that referenced this pull request Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CommitMessage::Qualified Qualified commit message
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants