NCIOCPL / cgov-digital-platform

The Cancer.gov Digital Communications Platform
GNU General Public License v2.0
11 stars 33 forks source link

Accessibility: Text appears to be a heading but is not a heading element #3954

Open laurelthrash opened 1 year ago

laurelthrash commented 1 year ago

Reported Issue:

Screen shots:

Image

History: Reported on a July 2023 accessibility scan. Project board "Accessibility Issues (2023.07)" linked in the ticket. Original document here: Accessility Issues - Template and Non-Content (1).docx

arcepaul commented 1 year ago

Can we have Min do a sitewide search of content to see exactly where and how many occurrences take place on the sites in question?
We would request for her to look for <p> appearing in <h2>

santwuma commented 1 year ago

@zhuomingao can you please help with above comment?

zhuomingao commented 1 year ago

@arcepaul , for www.cancer.gov, articles with body section headings have

inside <h2 tag, there are about 365 article pages have this. On DCEG.cancer.gov there are 77 such cases.

arcepaul commented 1 year ago

thanks, @zhuomingao !

santwuma commented 1 year ago

This is an IA fix - @lburack to submit JIRA ticket for fix. Will need to rerun report to identify and finalized all locations. Last report indicated this was present in 77 places.

santwuma commented 1 year ago

@arcepaul to spike and review code for future permanent fix. Revisit need to manually updates exiting places with this issue after spike is complete.