How do I modify section page HTML for accessibility defects? | Community
Skip to main content

How do I modify section page HTML for accessibility defects?

  • November 30, 2021
  • 3 replies
  • 0 views

Hi,

I have several section pages that have accessibility defects that I'm trying to fix on my own, but I'm not sure if it's possible. For example, the section pages have images that I need to provide alt text for or, if it's not needed, I need to alter the HTML to read alt=””. Secondly, there are multiple nav elements so they need unique accessible names added using aria-label. Anyone have ideas how to fix this?

Thanks,

Megan

3 replies

Pulkit12
  • December 1, 2021

Hi Megan Alfaro

If the content of the section pages is not coming through any API, then you need to go through your section pages manually then update the alt tag or other changes you need to update.

 

Thank You 

Pulkit


  • Author
  • December 2, 2021

Pulkit,

Thanks so much for your response. The content is not coming through any API, so I'll have to manually update the alt tags and other changes. Do you know where/how I can update the HTML for section pages in Guide? I don't see where I can do that. Thanks,
Megan


Dave12
  • December 2, 2021
Hi Megan, 
 
You should be able to edit the section page template (section_page.hbs) following our documentation here: Customizing your help center theme
 
Hope that helps!