LIT-EIA / adapt-esdc-accessibilityfixes

Extension to load and run a .js file when a course loads
GNU General Public License v3.0
5 stars 2 forks source link

Modal windows - header is h1 [RDI 2.40] #58

Closed LIT-EIA-OWNER closed 3 years ago

LIT-EIA-OWNER commented 3 years ago

The heading in the modal window is a level-one heading (h1). Although this is technically allowed in HTML 5.0, the Canada.ca style guide allows only one h1 per page.

The heading level should represent where it is located on the page. If the page has a single h1, then the heading of the modal box should be an h2 which corresponds to where it resides within the structure of the page.

LIT-EIA-OWNER commented 3 years ago

Can most likely be set in the Adapt interface, but maybe we can code an auto header level setter!

LIT-EIA-OWNER commented 3 years ago

It can be set in the interface - the question is what should this header be if not level 0 ?

LIT-EIA-OWNER commented 3 years ago

Can we code an auto header level setter? See how easy it would be

LIT-EIA-OWNER commented 3 years ago

Coded header level setter! See #6