No Code Attached Yet a11y
avatar drmenzelit
drmenzelit
8 Nov 2024

The issue is probably related with Bootstrap changes that were not adopted in the Joomla code

Steps to reproduce the issue

Create an article with some page breaks. Set the plugin to display as slider.
Use some accessibility tool like axe DevTools to check the site

Expected result

Correct code, no accessibility issues

Actual result

Accessibility issues
Image

Image

Image

System information (as much as possible)

Additional comments

avatar drmenzelit drmenzelit - open - 8 Nov 2024
avatar joomla-cms-bot joomla-cms-bot - change - 8 Nov 2024
Labels Added: No Code Attached Yet a11y
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Nov 2024
avatar drmenzelit drmenzelit - change - 8 Nov 2024
The description was changed
avatar drmenzelit drmenzelit - edited - 8 Nov 2024
avatar dgrammatiko
dgrammatiko - comment - 14 Nov 2024

Just use <detail name="something"> for accordions: https://caniuse.com/mdn-html_elements_details_name
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#name

  • No JS needed
  • Pure HTML
  • Totally accessible
avatar Quy
Quy - comment - 14 Nov 2024

PR #40578?

avatar drmenzelit
drmenzelit - comment - 14 Nov 2024

@dgrammatiko do you want to rewrite the Pagebreak plugin and the used accordion function from Joomla?

avatar drmenzelit
drmenzelit - comment - 14 Nov 2024

@Quy thanks, I had totally forgotten that PR :-)

avatar dgrammatiko
dgrammatiko - comment - 14 Nov 2024

I don't have the time to do so but should be straight forward with layouts/sublayouts

avatar drmenzelit drmenzelit - change - 14 Nov 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-11-14 08:04:13
Closed_By drmenzelit
avatar drmenzelit drmenzelit - close - 14 Nov 2024
avatar drmenzelit
drmenzelit - comment - 14 Nov 2024

Closing as we already have a PR #40578

avatar HLeithner HLeithner - change - 20 Nov 2024
Labels Added: bug
avatar HLeithner HLeithner - labeled - 20 Nov 2024
avatar HLeithner HLeithner - change - 20 Nov 2024
Labels Removed: bug
avatar HLeithner HLeithner - unlabeled - 20 Nov 2024

Add a Comment

Login with GitHub to post a comment