User tests: Successful: Unsuccessful:
Pull Request for Issue #43548 alternative to #43570 .
This pr is an alternative to #43570 and used as inspiration.
Add item position and total count to Page Navigation
The total and the current item position will be present on any list view that uses pagination->getListFooter(); ?>
Go to the backend and check list views.
No Line like shown in the image
An additional line with some basic information of the position and total amount of the list view.
Please select:
Documentation link for docs.joomla.org: Screenshots might needs to be updated
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org: Additonal parameter for the layout
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings Layout |
Labels |
Added:
Language Change
PR-5.2-dev
|
I like this feature, tested and it works perfectly.
What do you think about using a badge?
@brianteeman I first had the same thought as you but cannot find a rule which requires presenting the information in the caption. Do you have a link?
A table caption is intended to describe a table - if we include how the table is sorted and filtered in that description (we do) then by the same toke we should include how many items are in the table.
I have tested this item ✅ successfully on d7794ad
Better to have it and it not be perfect for accessibility than not have it at all.
I have tested this item ✅ successfully on d7794ad
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-06-03 09:48:36 |
Closed_By | ⇒ | pe7er | |
Labels |
Added:
RTC
|
Thank you @brianteeman and @HLeithner for coding this feature!
I closed my PR in favour of this one. It does more than was requested but that's a good thing.
NOTE:
Note that both this implementation and the alternative are not completely correct when it comes to accessibility. The information should really be in the caption element