Page headings

Page headings

by Brian Barnes -
Number of replies: 2

One of the things that I am currently working through some accessibility concerns and have noticed that there are a number of pages that use the site name for the main h1 on the page (for example the Calendar pages (/calendar/view.php?view=month)) and therefore will not portray the correct purpose of the page.

Was there any reason for this? Should I create a tracker issue for this (I have not found one yet) and start working on some fixes.

Average of ratings: -
In reply to Brian Barnes

Re: Page headings

by Damyon Wiese -
See https://tracker.moodle.org/browse/MDL-40685
and http://docs.moodle.org/dev/HTML_Guidelines

(This was looked at recently for all activities).

Cheers!
Average of ratings: Useful (1)
In reply to Damyon Wiese

Re: Page headings

by Brian Barnes -

Hi Damyon, thanks for your response.

I've been doing further research on this, as the links you provided were a little light on detail (I don't like writing documentation either). While I haven't been able to track down why Moodle have chosen the path that it has, it appears to have chosen the h1 as site title argument but isn't consistent as it allows course titles to be the h1.

I personally prefer the h1 as page title, and believe this to make sense in a moodle site. The clean theme (as an example) has the site short name in what I would define as the page header, and then straight under has the h1 which contains (on most pages) the site title (which would usually be an expanded version of the site short name).

I am interested to hear what others think (particularly if you use a screen reader and have little or no sight), and why Moodle has chosen the path that they have.


Cheers,


Brian Barnes