Templates? WAI-ARIA?
-
Hi… Just as a suggestion it would be really nice if the outputted HTML was removed from the business logic in this plugin and placed into templates. That way we could override what is outputted in a theme.
I would like to change some of the HTML tags semantically but I have no chance without completely re-rolling the plugin as my own. For example you hard-code a H4 tag for the footnote title. Now that only makes sense if there is a H3 tag preceding it which you cannot know. Only the person building the website can determine what HTML tags should be used because tag usage is contextual.
I also want to add more WAI-ARIA attributes to tags like a title tag on a link to top. Accessibility on the outputted HTML could be greatly improved.
I feel the entire footnote listing should be wrapped in a <aside role=”note”> tag.
-see https://www.w3.org/WAI/GL/wiki/Using_HTML5_aside_element
- The topic ‘Templates? WAI-ARIA?’ is closed to new replies.