Is '#page' an ARIA region?

Is '#page' an ARIA region?

by Gareth J Barnard -
Number of replies: 6
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

This comment: https://tracker.moodle.org/browse/MDL-48947?focusedCommentId=372193&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-372193 - has prompted me to think about ARIA roles ones more, so is: https://github.com/moodle/moodle/blob/MOODLE_29_STABLE/theme/bootstrapbase/layout/columns2.php#L69 a 'region' (http://www.w3.org/TR/wai-aria/roles#region) and if so, where would the label come from?

Is there a checker for ARIA roles where theme designers can check their mark-up?  I've not checked recently, but wave.webaim.org has been good for colour checking etc.

Average of ratings: -
In reply to Gareth J Barnard

Re: Is '#page' an ARIA region?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

As far as I know, I don't think Page is a region, but #page-content is. Also, in Moodle all the ARIA markers were added by YUI. Also I suspect that this is still the case. Sam Hemelryk was the man that looked after that I think?

Mary

In reply to Mary Evans

Re: Is '#page' an ARIA region?

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Interesting, I thought, looking at the mark-up that they are added manually.

In reply to Gareth J Barnard

Re: Is '#page' an ARIA region?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Perhaps I am wrong, thinking about it. I know YUI was one of the elements that added stuff to the custommenu, but that's generated via a renderer. If you use the Tab key on your keyboard that shunts along the page, to each ARIA set. The main markers on the page are in the blocks 'Skip to ... ' which is, I guess, coded manually in the block mark-up in the first place.

Mary

In reply to Gareth J Barnard

Re: Is '#page' an ARIA region?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Gareth,

You may have already come across the Mozilla documents about ARIA  however, I will add a link to it here for referenice just in case you haven't 

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA

Cheers

Mary

Average of ratings: Useful (1)
In reply to Mary Evans

Re: Is '#page' an ARIA region?

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Thanks Mary, I don't think I've come across that one.

I think it might be time to have thread / post / page dedicated to accessibility in themes and the key bits of ARIA that need to apply.  At the moment, I'm still learning and want to improve my themes.  If anybody has good knowledge and can spot things in Essential, Shoehorn etc. or even Clean that need doing with what needs changing, then please say.

In reply to Gareth J Barnard

Re: Is '#page' an ARIA region?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

I don't know that much about ARIA but came across this blog post by Terrill Thompson some time ago, which I have linked to on numerous occasions. He explains in great detail how to make a dropdown menu accessible to those who have visual or hearing impairment. He is a bit of a Guru on the subject.

Glad you found that post useful.

Cheers

Mary