Page headings

Page headings

- Brian Barnes の投稿
返信数: 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.

Brian Barnes への返信

Re: Page headings

- Damyon Wiese の投稿
Damyon Wiese への返信

Re: Page headings

- 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