daisy / ebraille

Repository for developing use cases and standard for digital braille
17 stars 5 forks source link

Change example "markers" to headings #256

Closed bertfrees closed 2 months ago

bertfrees commented 3 months ago

so that screen reader users can navigate to it more easily. (Suggestion from @jrbowden.)

The examples are currently <div class="marker">.

bertfrees commented 2 months ago

@mattgarrish Could we do this with JavaScript? Or do you have a better idea?

mattgarrish commented 2 months ago

We can run a postprocessing step on the files. I'm just trying to find out why respec doesn't make them headings. Notes have headings using aria attributes, for example, so it's not like no one's thought of these cases. I did see something in the respec tracker about permalinks inside headings causing problems for AT. I wonder if that's why examples have been left without. I might file an issue and see what response I get.

bertfrees commented 2 months ago

Thanks for filing the respec issue!