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

Icon role update #3370

Merged
merged 2 commits into from
Jul 25, 2023
Merged

Icon role update #3370

merged 2 commits into from
Jul 25, 2023

Conversation

eizzn
Copy link
Contributor

@eizzn eizzn commented Jul 24, 2023

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

fix(module: tabs): throwing navigate exceptiion while base path was s…
…t change default behavior

when a screen reader parses an icon, it sees the role attribute has a value of 'img'. in the case where we don't want the screen reader to read the icon, the role can be assigned a blank value and the role attribute will not be added. instead, the aria-hidden attribute will be added with a value of 'true'

no breaking changes
@github-actions
Copy link

Prepare preview

@eizzn
Copy link
Contributor Author

eizzn commented Jul 25, 2023

@dotnet-policy-service agree company="Parallon"

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch coverage: 80.00% and project coverage change: +0.03% 🎉

Comparison is base (d96f0c3) 46.80% compared to head (82c83fe) 46.83%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3370      +/-   ##
==========================================
+ Coverage   46.80%   46.83%   +0.03%     
==========================================
  Files         558      558              
  Lines       26824    26832       +8     
  Branches      267      267              
==========================================
+ Hits        12554    12567      +13     
+ Misses      14230    14225       -5     
  Partials       40       40              
Files Changed Coverage Δ
components/tabs/Reuse/ReuseTabs.razor.cs 0.00% <0.00%> (ø)
components/icon/Icon.razor.cs 76.66% <87.50%> (+1.66%) ⬆️
components/icon/Icon.razor 75.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ElderJames ElderJames left a comment

Choose a reason for hiding this comment

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

Thank you @eizzn . Could you please help us improve the accessibility of this component library?

@ElderJames ElderJames merged commit c559bd3 into ant-design-blazor:master Jul 25, 2023
6 checks passed
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.

None yet

2 participants