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

[#389] Removed aria-label from button with 'is_new_window'. #390

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

alan-cole
Copy link
Collaborator

@alan-cole alan-cole commented Sep 25, 2024

#389

Checklist before requesting a review

  • I have formatted the subject to include the issue number
    as [#123] Verb in past tense with a period at the end.
  • I have provided information in the Changed section about WHY something was
    done if this was a bespoke implementation.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run new and existing relevant tests locally with my changes,
    and they have passed.
  • I have provided screenshots, where applicable.

Changed

  1. The aria-label in this case would override whatever text was present within the button, meaning buttons lose context if used with a screen reader.

Screenshots

Screenshot 2024-09-25 at 2 31 19 pm

The aria-label in this case would override whatever text was present within the button, meaning buttons lose context if used with a screen reader.
@alan-cole alan-cole added the PR: Needs review Pull request needs a review from assigned developers label Sep 25, 2024
@alan-cole alan-cole self-assigned this Sep 25, 2024
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 13.87%. Comparing base (343d1ff) to head (15b2d31).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage   13.87%   13.87%           
=======================================
  Files          27       27           
  Lines        1290     1290           
  Branches      307      307           
=======================================
  Hits          179      179           
  Misses        894      894           
  Partials      217      217           

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

Copy link

@github-actions github-actions bot temporarily deployed to pull request September 25, 2024 04:40 Inactive
Copy link
Collaborator

@richardgaunt richardgaunt left a comment

Choose a reason for hiding this comment

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

Thanks @alan-cole - and thanks for explaining the fix.

@richardgaunt richardgaunt merged commit 7315692 into main Oct 1, 2024
7 checks passed
@richardgaunt richardgaunt deleted the feature/389-remove-problematic-aria-label branch October 1, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Needs review Pull request needs a review from assigned developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants