Language Change a11y PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar mbeganyi-a11y
mbeganyi-a11y
9 Oct 2026

Pull Request partially resolves #48374.

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

  • Improves accessibility of the Joomla logo and logo links in the Atum template
  • Keeps the Joomla logo consistently available as a link to the Home Dashboard on normal administrator pages, including the Home Dashboard itself
  • Adds aria-current="page" to the logo link only when the Home Dashboard is the current page
  • Updates the linked logo alternative text to include both the visible Joomla text and its destination: “Joomla! – Home Dashboard”
  • Ensures the expanded and collapsed logo variants both receive appropriate alternative text
  • Ensures the non-linked logo shown on edit/hidden-menu pages has alternative text, rather than an empty alt attribute
  • Preserves the existing edit-mode behavior: the logo remains non-interactive where users should not navigate away from an Edit screen

Testing Instructions

  1. Log into the Administrator interface > Home Dashboard
  2. Inspect the Joomla logo in the top-left header using browser developer tools.
  3. Confirm the following code: < a class="logo" href="…" aria-current="page" >
  4. Confirm that the large and collapsed logo images expose alternative text containing "Joomla! – Home Dashboard"
  5. Navigate to another normal administrator page, such as Content > Articles
  6. Confirm the logo remains a link to the Home Dashboard but does not have the aria-current="page" attribute
  7. Open an edit screen, for example Content > Articles > New
  8. Confirm the logo is not a link, preserving existing edit-mode navigation behaviour
  9. Confirm that both the large and collapsed logo images have appropriate alternative text
  10. If desired, repeat the markup checks for the collapsed state of the sidebar (although both versions are present in the DOM irrespective of state)
  11. If desired, use a screen reader to complete the previous steps as well, ensuring the current page announcement is present on the Home Dashboard while not being present on other administrator pages, and that appropriate alternative text exists for the Joomla logo on Editor pages

Actual result BEFORE applying this Pull Request

  • On the Home Dashboard, the logo was not a link
  • On other administrator pages, the logo link was announced as “Back to Control Panel,” which did not include the visible Joomla text
  • The logo’s link function availability changed between dashboard and non-dashboard pages
  • The logo's alternative text was empty on hidden-menu/edit pages
  • The collapsed logo had an empty alternative text value

Expected result AFTER applying this Pull Request

  • The Joomla logo is consistently present as a Home Dashboard link on standard administrator pages
  • On the Home Dashboard, the logo link has aria-current="page"
  • On all other standard administrator pages, the logo link does not have aria-current
  • The accessible name of the linked logo includes the visible “Joomla!” text and “Home Dashboard”
  • The logo alternatives are not empty on edit/hidden-menu pages
  • The existing restriction preventing navigation away from edit-mode pages remains in place

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar mbeganyi-a11y mbeganyi-a11y - open - 9 Oct 2026
avatar mbeganyi-a11y mbeganyi-a11y - change - 9 Oct 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Oct 2026
Category ⇒ Administration Language & Strings Templates (admin)
avatar brianteeman
brianteeman - comment - 9 Oct 2026

Basically this is completely wrong as you are ignoring the ability for a site owner to set their own logo and alt text

image
avatar mbeganyi-a11y
mbeganyi-a11y - comment - 9 Oct 2026

Where does the alt description get pulled from then? Only having access to the administrator template made me think that was OK to hard code and then the string would be updated from a custom logo alt description if inserted by the author.

What about the other parts of the PR?

avatar mbeganyi-a11y mbeganyi-a11y - change - 9 Oct 2026
Labels Added: Language Change a11y PR-6.2-dev
avatar brianteeman
brianteeman - comment - 9 Oct 2026

Accessibility is about providing the right information and functionality to users, not simply ensuring that every image has non-empty alternative text or every logo is a link.

The PR makes the logo a link even on the Home Dashboard, where it was previously a non-interactive image. This creates a consistent navigation mechanism, but a link to the page the user is already on adds little navigational value. It is not inherently an accessibility requirement to make a site's logo a link on every page and to make it work you have to add aria-current="page" which goes against the first rule of aria "dont use aria" when its not needed

The PR replaces custom alt descriptions with the hard-coded string Joomla! – Home Dashboard (when a link) and Joomla (when not a link). That overrides the administrator's configuration, including custom descriptions and the option to provide empty alternative text. A site using its own branding should not be forced to announce that its logo is Joomla. But if you insiste that its wrong for a site to customise those settings then the option to make them should be removed as well and not just left as abandoned code.

Adding alternative text on edit screens — not necessarily an improvement.
The PR also changes the non-linked logo on edit screens from configured alternative text to the hard-coded word Joomla!. Alternative text is not always needed for a non-interactive image. If the logo is decorative, an empty alt value is appropriate; if it conveys meaningful information, its description should be configurable and appropriate to the image. Automatically inserting text into every logo does not necessarily make the interface more accessible.

avatar brianteeman
brianteeman - comment - 9 Oct 2026

Where does the alt description get pulled from then? Only having access to the administrator template made me think that was OK to hard code and then the string would be updated from a custom logo alt description if inserted by the author.

Dont think, test it - thats what I did

avatar chmst
chmst - comment - 9 Oct 2026

Agree with @brianteeman and cannot say it better.

avatar brianteeman
brianteeman - comment - 9 Oct 2026

just to complete the review there are very obvious code formatting issues that must be resolved - it might not seem important but "pretty code" makes it much easier to spot errors and maintain code in the long term.

image

should be looking something like

image
avatar rdeutz
rdeutz - comment - 12 Oct 2026

If I understand the audit findings correctly, the main point is consistency across pages. That makes total sense to me, even for users who don't use assistive technology. Having the logo link back to the dashboard would be a useful shortcut for me.

avatar mbeganyi-a11y
mbeganyi-a11y - comment - 12 Oct 2026

Accessibility is about providing the right information and functionality to users, not simply ensuring that every image has non-empty alternative text or every logo is a link.

It's comments like these that make me feel that there's a big disconnect in understanding what the purpose of accessibility is in this context.

The PR makes the logo a link even on the Home Dashboard, where it was previously a non-interactive image. This creates a consistent navigation mechanism, but a link to the page the user is already on adds little navigational value. It is not inherently an accessibility requirement to make a site's logo a link on every page and to make it work you have to add aria-current="page" which goes against the first rule of aria "dont use aria" when its not needed

So this is exactly what I mean when I say a disconnect. Don't use ARIA in situations where you can accomplish the same outcome with native HTML (think a native < button > element versus customizing a < div > with ARIA roles and JavaScript), but aria-current has no HTML equivalent: it exists for screen reader users. It indicates your location in a navigation set (think breadcrumbs), and while you say "little navigational value" (even though you said immediately prior "a consistent navigation mechanism"), it's not only about that. Not all users who use screen readers are completely blind or low vision, so providing accurate contextual information helps users understand where they are in the interface. And, to the first part of your comment, a consistent navigation mechanism can only be helpful to users, right?

The PR replaces custom alt descriptions with the hard-coded string Joomla! – Home Dashboard (when a link) and Joomla (when not a link). That overrides the administrator's configuration, including custom descriptions and the option to provide empty alternative text. A site using its own branding should not be forced to announce that its logo is Joomla. But if you insiste that its wrong for a site to customise those settings then the option to make them should be removed as well and not just left as abandoned code.

This implementation was erroneous and I acknowledge that; I'm not defending the hard-coding. It will take a lot of reworking to allow the default interface to have the alt text that users will benefit from, but then make room for the author-uploaded images once they're changed.

Adding alternative text on edit screens — not necessarily an improvement. The PR also changes the non-linked logo on edit screens from configured alternative text to the hard-coded word Joomla!. Alternative text is not always needed for a non-interactive image. If the logo is decorative, an empty alt value is appropriate; if it conveys meaningful information, its description should be configurable and appropriate to the image. Automatically inserting text into every logo does not necessarily make the interface more accessible.

So if the alt text isn't required here and it is indeed meant to be decorative, what purpose does the image serve? If sighted users are able to determine they're still in the Joomla interface when editing an article, how come blind or low vision screen reader users can't have the same experience? Again, hard-coding isn't correct, but I've previously acknowledged that.

I'd also like to add that I think you and I want the same thing for Joomla, Brian, it's just our understanding of what that means is a little different. We're both on the same side, we just have different methods and understandings. If you don't think any of what I've raised in the PR is relevant and just "basically...completely wrong" then feel free to close it and we can discuss elsewhere.

avatar brianteeman
brianteeman - comment - 12 Oct 2026

It's not for me to close anything. I couldn't even if I wanted to. I am not alone in being annoyed at time being wasted however. But maybe I expected too much from this STF funded work in expecting it to tackle the many real world accessibility issues with the joomla admin that real users struggle with everyday

avatar brianteeman
brianteeman - comment - 12 Oct 2026

If I understand the audit findings correctly, the main point is consistency across pages. That makes total sense to me, even for users who don't use assistive technology. Having the logo link back to the dashboard would be a useful shortcut for me.

the logo already links back to the home dashboard - this PR doesnt change that -

Since joomla 4.0 the logo has always linked back to the home except when

  1. Inside an edit form as we dont want people to escape the form without save or cancel.
  2. When you are on the home page as the link would take you nowhere

With this PR you dont really get much improved consistency as the logo remains a non link on edit forms

avatar chmst chmst - close - 19 Oct 2026
avatar chmst
chmst - comment - 19 Oct 2026

I close this now. Reasons are explained in the comments.

avatar chmst chmst - change - 19 Oct 2026
Status Pending ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-10-19 10:42:31
Closed_By ⇒ chmst

Add a Comment

Login with GitHub to post a comment