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(a11y): DES-2482 cms icons, role as none (only i.fa) #1052

Merged
merged 14 commits into from
Oct 25, 2023

Conversation

wesleyboar
Copy link
Collaborator

@wesleyboar wesleyboar commented May 31, 2023

Status

Waiting on:

Overview / Summary:

Add role="none" to FontAwesome icons.

PR Status:

  • Ready.

Related Jira tickets:

Testing Steps:

CMS

  1. Open a few CMS pages.
  2. Search the markup for fa fa-.
  3. Verify all <i class="fa fa-…></i> are now <i role="none" class="fa fa-…></i>.

Portal

  1. Open a few Portal sections.
  2. Search the markup for fa fa-.
  3. Verify all <i class="fa fa-…></i> are now <i role="none" class="fa fa-…></i>.

UI Photos:

Skipped.

Notes:

This does not fix other icons that need role="none". For that, see #1051 and #1053.

@wesleyboar wesleyboar changed the title fix: DES-2482 cms icons, role as none (only i.fa) fix(a11y): DES-2482 cms icons, role as none (only i.fa) May 31, 2023
@wesleyboar wesleyboar marked this pull request as ready for review June 1, 2023 17:42
@wesleyboar wesleyboar changed the title fix(a11y): DES-2482 cms icons, role as none (only i.fa) fix(a11y): DES-2482 cms icons, role as none (only i.fa) ⏸️ Jun 1, 2023
Copy link
Collaborator Author

@wesleyboar wesleyboar Oct 4, 2023

Choose a reason for hiding this comment

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

The intended change here is only adding role="none" to the <i class="…"></i>s.

But DOS line endings are causing a problem…

@wesleyboar wesleyboar changed the title fix(a11y): DES-2482 cms icons, role as none (only i.fa) ⏸️ fix(a11y): DES-2482 cms icons, role as none (only i.fa) Oct 4, 2023
Copy link
Member

@jarosenb jarosenb left a comment

Choose a reason for hiding this comment

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

LGTM, non-visible markup changes only.

@jarosenb jarosenb merged commit e938eb8 into main Oct 25, 2023
2 checks passed
@jarosenb jarosenb deleted the bugfix/DES-2482-cms-icons-role-as-none-ONLY-FA-ICONS branch October 25, 2023 15:21
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