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

feat: enhance Icon component a11y #3287

Merged
merged 2 commits into from
Nov 1, 2024
Merged

feat: enhance Icon component a11y #3287

merged 2 commits into from
Nov 1, 2024

Conversation

kurakke
Copy link
Member

@kurakke kurakke commented Oct 30, 2024

Closes #3253

Description

Enhanced a11y in the Icon component by setting role="img" and applying aria-hidden="true" as defaults.

Is this a breaking change (Yes/No):

No

Copy link

vercel bot commented Oct 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
yamada-ui ⬜️ Ignored (Inspect) Visit Preview Nov 1, 2024 0:49am

@hirotomoyamada hirotomoyamada self-assigned this Oct 30, 2024
@kurakke kurakke changed the title feat: enhance Icon component a11y by setting default role=img and ari… feat: enhance Icon component a11y Oct 30, 2024
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.35%. Comparing base (3354022) to head (2c4036f).
Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3287   +/-   ##
=======================================
  Coverage   97.35%   97.35%           
=======================================
  Files        2015     2015           
  Lines       46923    46927    +4     
  Branches     5693     5693           
=======================================
+ Hits        45680    45684    +4     
  Misses       1228     1228           
  Partials       15       15           
Files with missing lines Coverage Δ
packages/components/icon/src/icon.tsx 100.00% <100.00%> (ø)

.changeset/shy-moles-own.md Outdated Show resolved Hide resolved
bearone236
bearone236 previously approved these changes Oct 30, 2024
@hirotomoyamada hirotomoyamada added the merge request Request approval from codeowners label Oct 30, 2024
@hirotomoyamada hirotomoyamada removed the merge request Request approval from codeowners label Oct 30, 2024
108yen
108yen previously approved these changes Oct 30, 2024
@hirotomoyamada hirotomoyamada added the merge request Request approval from codeowners label Oct 30, 2024
@hirotomoyamada hirotomoyamada dismissed 108yen’s stale review October 31, 2024 10:57

Reviews not enough.

@hirotomoyamada hirotomoyamada removed the merge request Request approval from codeowners label Oct 31, 2024
@hirotomoyamada hirotomoyamada merged commit 9c3609a into main Nov 1, 2024
7 checks passed
@hirotomoyamada hirotomoyamada deleted the feat/a11y/icon branch November 1, 2024 01:01
@github-actions github-actions bot mentioned this pull request Nov 1, 2024
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.

Enhance the accessibility of Icon component
4 participants