RTC a11y NPM Resource Changed PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
21 Apr 2026

Pull Request resolves # .

  • 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

ARIA defines:

aria-posinset → position in the set
aria-setsize → total number of items

Both are human-relevant, not zero-based programming indexes.

So valid output should be:

item index aria-posinset
first 0 1
second 1 2
third 2 3

Testing Instructions

In media manager create some folders and then check the values of the a links of each tree item (directory name)

It should be telling you which item (posinset) the link is in the set (setsize)

This is an npm change so you either need to npm ci or use a pre-built package

Actual result BEFORE applying this Pull Request

the links are zero-based so the first link is
<a role="treeitem" aria-level="2" aria-setsize="6" aria-posinset="0" tabindex="-1"><span class="item-icon"><span class="icon-folder"></span></span><span class="item-name">banners</span></a>

and the last one will also have a posinset value of 1 less than the setsize
<a role="treeitem" aria-level="2" aria-setsize="6" aria-posinset="5" tabindex="-1"><span class="item-icon"><span class="icon-folder"></span></span><span class="item-name">banners</span></a>

Expected result AFTER applying this Pull Request

the posinset correctly starts at 1 and ends with the value=setsize
<a role="treeitem" aria-level="2" aria-setsize="6" aria-posinset="1" tabindex="-1"><span class="item-icon"><span class="icon-folder"></span></span><span class="item-name">banners</span></a>

<a role="treeitem" aria-level="2" aria-setsize="6" aria-posinset="6" tabindex="-1"><span class="item-icon"><span class="icon-folder"></span></span><span class="item-name">banners</span></a>

it is debatable if we even need this as it wold normallyb only be used if the entire set is not displayed. But as we do already display the posinset it should at a minimum have the correct values

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 brianteeman brianteeman - open - 21 Apr 2026
avatar brianteeman brianteeman - change - 21 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Apr 2026
Category Administration com_media NPM Change
avatar brianteeman brianteeman - change - 21 Apr 2026
The description was changed
avatar brianteeman brianteeman - edited - 21 Apr 2026
avatar brianteeman brianteeman - change - 21 Apr 2026
The description was changed
avatar brianteeman brianteeman - edited - 21 Apr 2026
avatar brianteeman brianteeman - change - 21 Apr 2026
The description was changed
avatar brianteeman brianteeman - edited - 21 Apr 2026
avatar brianteeman brianteeman - change - 23 Apr 2026
Labels Added: NPM Resource Changed PR-5.4-dev
avatar brianteeman brianteeman - change - 23 Apr 2026
The description was changed
avatar brianteeman brianteeman - edited - 23 Apr 2026
avatar exlemor exlemor - test_item - 24 Apr 2026 - Tested successfully
avatar exlemor
exlemor - comment - 24 Apr 2026

I have tested this item ✅ successfully on b0fb97e

I have tested this successfully during April 24th, 2026 - PR Testing Session. Thanks @brianteeman!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47642.

avatar exlemor
exlemor - comment - 24 Apr 2026

I have tested this item ✅ successfully on b0fb97e

I have tested this successfully during April 24th, 2026 - PR Testing Session. Thanks @brianteeman!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47642.

avatar ThomasFinnern ThomasFinnern - test_item - 24 Apr 2026 - Tested successfully
avatar ThomasFinnern
ThomasFinnern - comment - 24 Apr 2026

I have tested this item ✅ successfully on b0fb97e

Checked the first and last one. all +1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47642.

avatar ThomasFinnern
ThomasFinnern - comment - 24 Apr 2026

I have tested this item ✅ successfully on b0fb97e

Checked the first and last one. all +1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47642.

avatar richard67 richard67 - change - 24 Apr 2026
The description was changed
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 24 Apr 2026

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47642.

avatar richard67 richard67 - edited - 24 Apr 2026
avatar richard67
richard67 - comment - 24 Apr 2026

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47642.

avatar richard67
richard67 - comment - 24 Apr 2026

@brianteeman Just because I'm curious: Do you have any idea why GitHub shows the complete code of the file as changes, even if there is not really a visible change?

avatar brianteeman
brianteeman - comment - 24 Apr 2026

@richard67 i have no idea. i see it sometimes with some filetypes

avatar muhme muhme - change - 27 Apr 2026
Labels Added: RTC a11y
avatar muhme
muhme - comment - 27 Apr 2026

Do you have any idea why GitHub shows the complete code of the file as changes, even if there is not really a visible change?

Reason is that the modified new file uses CRLF (carriage return + linefeed) line terminators, the original file use only LF. If you change the new file to Unix-format linefeed only, you can compare and see the difference is only:

18c18
<         :aria-posinset="index"
---
>         :aria-posinset="index + 1"

@brianteeman Could you commit the file with linefeeds only?

avatar brianteeman
brianteeman - comment - 27 Apr 2026

my git client is configured to do that - dont know why it didnt this time. should be ok now

avatar muhme
muhme - comment - 28 Apr 2026

✅ Final test before merge using JBT

  • Seen aria-posinset="0" before PR
  • Applied PR with Patch Tester and npm ci
  • The first entry shows aria-posinset=‘1’ and the following folders increment the number
avatar muhme muhme - change - 28 Apr 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-04-28 08:48:16
Closed_By muhme
avatar muhme muhme - close - 28 Apr 2026
avatar muhme muhme - merge - 28 Apr 2026
avatar muhme
muhme - comment - 28 Apr 2026

Thank you very much @brianteeman for your contribution. Thanks to @exlemor and @ThomasFinnern for testing.

avatar brianteeman
brianteeman - comment - 28 Apr 2026

thanks

Add a Comment

Login with GitHub to post a comment