Pending

User tests: Successful: Unsuccessful:

avatar mbeganyi-a11y
mbeganyi-a11y
13 Sep 2026

Updates the default.php of the Extension Installer to allow assistive technology to receive information about the file upload maximum size without needing to move focus away from the "Upload and Install" button.

Pull Request resolves #48393.

  • 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

Associates the maximum extension package upload size with the Upload & Install button in the Extensions Install screen so that the maximum upload file size is conveyed to assistive technology without focus needing to move from the button..

The existing maximum upload size text is given an ID and is referenced by the button using aria-describedby.

Testing Instructions

  1. Log in to the Joomla administrator interface
  2. Navigate to System → Install → Extensions
  3. Open the Upload Package File tab
  4. Confirm the maximum upload-size text remains visibly displayed
  5. Start a screen reader (NVDA, JAWS, VoiceOver) and focus the Upload & Install button
  6. Confirm that the maximum upload size information is conveyed to assistive technology without needing to move focus away from the button

Actual result BEFORE applying this Pull Request

  1. The maximum upload size information is visible on screen, but it is not programmatically associated with the Upload & Install button, and
  2. A screen reader user can focus the button without the maximum permitted upload size being conveyed.

Expected result AFTER applying this Pull Request

When the Upload & Install button receives focus, a screen reader announces the maximum upload size information in addition to the button label.

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 - 13 Sep 2026
avatar mbeganyi-a11y mbeganyi-a11y - change - 13 Sep 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2026
Category Front End Plugins
avatar mbeganyi-a11y mbeganyi-a11y - edited - 13 Sep 2026
avatar mbeganyi-a11y mbeganyi-a11y - change - 13 Sep 2026
The description was changed
avatar mbeganyi-a11y mbeganyi-a11y - edited - 13 Sep 2026
avatar mbeganyi-a11y mbeganyi-a11y - edited - 13 Sep 2026
avatar mbeganyi-a11y mbeganyi-a11y - change - 13 Sep 2026
The description was changed
avatar mbeganyi-a11y mbeganyi-a11y - edited - 13 Sep 2026
avatar brianteeman
brianteeman - comment - 13 Sep 2026

@mbeganyi-a11y please check your work to make sure it does what you think it will do before submitting a PR - this can not do what you intend it to do at all - you can not have tested it

avatar tecpromotion
tecpromotion - comment - 14 Sep 2026

@mbeganyi-a11y please check your work to make sure it does what you think it will do before submitting a PR - this can not do what you intend it to do at all - you can not have tested it

I’ve just had a look at it myself, and @brianteeman is right. The code is neither correct nor tested.

What’s more, it’s actually more of a feature than a bug, which means it belongs in 6.3-dev.
I’d recommend that you close the PR and, if necessary, open a new, tested one for 6.3.

avatar rdeutz
rdeutz - comment - 14 Sep 2026

@mbeganyi-a11y yYou made the change for the legacy upload button and not for the usual one. So this is only working in some circumstances.

avatar rdeutz
rdeutz - comment - 14 Sep 2026

@mbeganyi-a11y You made the change for the legacy upload button and not for the usual one. So this is only working in some circumstances.

avatar brianteeman
brianteeman - comment - 14 Sep 2026

not even sure if that code is ever used anywhere

avatar rdeutz
rdeutz - comment - 14 Sep 2026

Look as it is used when upload is in non form context. Seems like a left over from the last century.

avatar brianteeman
brianteeman - comment - 14 Sep 2026

And we never have non form upload do we?

avatar chmst
chmst - comment - 14 Sep 2026

And we never have non form upload do we?

It is a hiden area with a form. This old and unused area should be removed from the layout.

avatar brianteeman
brianteeman - comment - 15 Sep 2026

the code in this layout and the accompanying JS was for support in browsers that do not support FormData which Joomla no longer supports anyway https://caniuse.com/mdn-api_formdata

I would do a PR to remove this code which will never be used but dont know which version to make it for or if this needs to be deprecated first (which seems pointless but the rules might require it)

avatar brianteeman
brianteeman - comment - 15 Sep 2026

the code in this layout and the accompanying JS was for support in browsers that do not support FormData which Joomla no longer supports anyway https://caniuse.com/mdn-api_formdata

I would do a PR to remove this code which will never be used but dont know which version to make it for or if this needs to be deprecated first (which seems pointless but the rules might require it)

avatar chmst
chmst - comment - 15 Sep 2026

I suggest a PR for 6.3. There is no b/c break and deprecation is pointless.

avatar HLeithner
HLeithner - comment - 15 Sep 2026

please target 7.0, thanks

avatar brianteeman
brianteeman - comment - 15 Sep 2026

ok - I was completely wrong - the code is used.

when you use the install from web option and click on install then this fieldset is displayed and used

thorium_yTivLfO4B0.mp4
avatar brianteeman
brianteeman - comment - 15 Sep 2026

SORRY - I was completely wrong - the code is used.

when you use the install from web option and click on install then this fieldset is displayed and used

thorium_yTivLfO4B0.mp4
avatar chmst
chmst - comment - 15 Sep 2026

You know what I never did in the last 12 years? Install from web ^^

avatar mbeganyi-a11y
mbeganyi-a11y - comment - 16 Sep 2026

OK this is all interesting and I'm glad to have..uh..partially solved something but not what I was aiming to solve.

For the maintainers, what's easiest? Should I relabel this PR and create a new one for the intended fix or can I modify this one with additional commits? I was originally thinking a new branch for the intended issue would be best, but please do let me know.

Add a Comment

Login with GitHub to post a comment