This is a rich text
This is a rich text
In the below example, the order before Accessibility Widget running was H1, H3, H2, H5, H4, H6. The code will rename the H tag based on their position, but will not re-order them.
This is a rich text
Block Quote

<script>
// JavaScript code to toggle visibility
document.addEventListener('DOMContentLoaded', function() {
var button = document.getElementById('toggleButton');
var paragraph = document.getElementById('myParagraph');
button.addEventListener('click', function() {
if (paragraph.style.display === 'none') {
paragraph.style.display = 'block';
button.textContent = 'Hide Text';
} else {
paragraph.style.display = 'none';
button.textContent = 'Show Text';
}
console.log('Toggle Button Working');
});
});
</script>

