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

EDSC-3075: Adds alt text to body markup #1383

Merged
merged 11 commits into from
May 7, 2021

Conversation

Chauncy-S
Copy link
Contributor

Overview

What is the feature?

Please summarize the feature or fix.
This is to fix the 'element must contain ALT attribute' for all findings from SortSite to be 508 compliant for the issue found here #1368.

What is the Solution?

Summarize what you changed.
Following the Sort Site suggestions fond on https://www.powermapper.com/products/sortsite/rules/acchtmllinktextblank/ I added and aria-label attribute to all of the anchor tags specified in the picture provided.

What areas of the application does this impact?

List impacted areas.
The body.html file located in the repo -> earthdata-search/static/src/partials/body.html

Testing

I do not have access to run the SortSite provided https://inside.nasa.gov/webservices/support/section-508-testing-sortsite to test to ensure the issues is resolved.

Reproduction steps

  • Environment for testing:
  • Collection to test with:
  1. Step 1
  2. Step 2...

Attachments

Please include relevant screenshots or files that would be helpful in reviewing and verifying this change.

Checklist

  • I have added automated tests that prove my fix is effective or that my feature works
  • [y ] New and existing unit tests pass locally with my changes
  • [ y] I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@codecov
Copy link

codecov bot commented May 7, 2021

Codecov Report

Merging #1383 (9dbe373) into master (f27cdcb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1383   +/-   ##
=======================================
  Coverage   84.61%   84.61%           
=======================================
  Files         651      651           
  Lines       15823    15823           
  Branches     3782     3782           
=======================================
  Hits        13388    13388           
  Misses       2087     2087           
  Partials      348      348           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f27cdcb...9dbe373. Read the comment docs.

@abbottry abbottry changed the title EDSC 3075 alt text EDSC-3075: Adds alt text to body markup May 7, 2021
@abbottry abbottry self-requested a review May 7, 2021 19:39
Copy link
Member

@abbottry abbottry left a comment

Choose a reason for hiding this comment

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

Looks good. In the future please adhere to the commit (and PR) format noted in CONTRIBUTING.md. Commits and PRs should begin with the ticket number, followed by a description of what the commit or PR is doing.

EDSC-3075: Adds alt text to body markup

@macrouch macrouch merged commit 45463dc into nasa:master May 7, 2021
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.

4 participants