Closed nadavkav closed 8 years ago
I think I need to go to sleep and work on this another day.
I also think, how the XXXX did that get there?
And yes, I agree its wrong.
'main' would be the solution.
Great. (It's too late over this side of the internet too :smile: , let's call it a day. tomorrow...)
Ok, 'role="main"' already output by '$OUTPUT->main_content();' therefore cannot be twice.
Currently looking at things, that 'section' is pointless.
You are right. it make sense.
I'm always correct, except when I'm incorrect.
:smile:
Axe (chrome accessibility extension tool) report all instances of:
<section role="main-content">
(In all layout pages) , as "Role must be one of the valid ARIA roles" (Critical).Looking at https://www.w3.org/TR/wai-aria/rdf_model.png, it seems that a simple role=main could be appropriate. What do you think?