Title: Web Accessibility
Last modified: August 26, 2024

---

# Web Accessibility

 *  [Upendra Singh Tomar](https://wordpress.org/support/users/upendmca/)
 * (@upendmca)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/web-accessibility-4/)
 * Hi,
    How to convert <div class=”wp-site-blocks”>Content</div> to <main class=”
   wp-site-blocks”>Content</main> in gutenberg block template. any hook or option
   here.
    -  This topic was modified 1 year, 9 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/web-accessibility-4/#post-17975094)
 * That sounds more like it’s a surrounding element. This will probably be predetermined
   by your theme, which is why you can’t customise it so easily.
 * Have a look at the files of your theme. The element is probably in one of these
   files. To customise the file, you need a child theme and would have to overload
   the file there. See: [https://developer.wordpress.org/themes/advanced-topics/child-themes/](https://developer.wordpress.org/themes/advanced-topics/child-themes/)
 *  Thread Starter [Upendra Singh Tomar](https://wordpress.org/support/users/upendmca/)
 * (@upendmca)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/web-accessibility-4/#post-17982034)
 * This is coming from wp-includes folder block-template.php.
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/web-accessibility-4/#post-17982201)
 * To this code. It is fixed here: [https://github.com/WordPress/WordPress/blob/master/wp-includes/block-template.php#L273](https://github.com/WordPress/WordPress/blob/master/wp-includes/block-template.php#L273)–
   so you cannot change it at this point.
 * In this case, you could just take the sledgehammer and cache the entire output
   and adapt the code to your needs before outputting it. The first answer here 
   could be helpful: [https://stackoverflow.com/questions/74210751/woocommerce-how-to-change-chunks-of-text-in-the-final-html](https://stackoverflow.com/questions/74210751/woocommerce-how-to-change-chunks-of-text-in-the-final-html)
 * If, however, you would like to make a change to the core file for future versions,
   create a ticket in the core for the developers here: [https://core.trac.wordpress.org/newticket](https://core.trac.wordpress.org/newticket)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Web Accessibility’ is closed to new replies.

## Tags

 * [blocks](https://wordpress.org/support/topic-tag/blocks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/web-accessibility-4/#post-17982201)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
