Go to template manager -> Cassiopeia details and files -> create override
The code for the tree view of components should display aria- properties as per the WAI reccommendations: https://www.w3.org/WAI/ARIA/apg/patterns/treeview/ (thanks @brianteeman!!!)
Tree view does not show these properties
Joomla 4
I also feel the UX of that screen should be improved as I find it confussing that one click expand the folder content and the same click on an end element directly creates the override. There is no indications and the only thing that differentiates the end of the tree is the icon on the right.
Labels |
Added:
No Code Attached Yet
|
Thanks for looking into this.
One more small item I noticed was the home menu disappears from the main menu:
whatever that is will be unrelated - so please could you open a new issue with that explaining exactly when the home menu icon disappears from a site menu
@brianteeman thanks for your reply. Your proposal looks good to me. I still feel it has some UX issues, but that's for another issue.
The only thing I think we should give a spin is to the translation of the sr-only text. In the few languages I know, the grammatical structure "Create override + NAME" works fine, but maybe it would be interesting to offer a way for languages with different grammar rules?
Create override + NAME"
I would make it a sprintf "Create overide %1" so that resolves that issue
@brianteeman but then we need to include the span and the sr-only class in the translation, don't we? Or we duplicate the name of the element to override?
@brianteeman but then we need to include the span and the sr-only class in the translation, don't we? Or we duplicate the name of the element to override?
yes it would appear so. even if we only fix that part now and leave the tree accessibility to another day this will be an improvement
Labels |
Added:
a11y
|
Labels |
Added:
bug
|
I see two specific issues
1. Everything is a link. A link should tell me what to expect when I follow the link. Currently it just has the name of the module etc. Maybe this can be improved by adding some sr-only text.
Changing
To