Skip to content

Container 45237: Fix Block Header Keyboard Access - #12066

Open
matheuszych wants to merge 1 commit into
ILIAS-eLearning:release_10from
matheuszych:a11y/container-block-header-keyboard
Open

matheuszych wants to merge 1 commit into
ILIAS-eLearning:release_10from
matheuszych:a11y/container-block-header-keyboard

Conversation

@matheuszych

Copy link
Copy Markdown
Contributor

See: https://mantis.ilias.de/view.php?id=45237

Expandable container block headers were not keyboard accessible. Collapsible item group headers can now receive focus, toggle with Enter or Space, keep aria-expanded in sync, and use standard ILIAS focus styling.

/cc @oliversamoila @thojou

See: https://mantis.ilias.de/view.php?id=45237

Expandable container block headers were not keyboard accessible. Collapsible
item group headers can now receive focus, toggle with Enter or Space, keep
`aria-expanded` in sync, and use standard ILIAS focus styling.
@oliversamoila oliversamoila added bugfix php Pull requests that update Php code css/html Pull requests that propose changes to CSS/SCSS or HTML files. accessibility Pull requests that propose A11Y changes. labels Sep 15, 2026
@oliversamoila

oliversamoila commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Context from the Mantis ticket:

Hello everyone.

I’ve been getting an increasing number of questions about whether a solution can still be found for the »»current«« implementation.
We have to accept that we won’t be seeing a migration of the repository to ILIAS 12. This means, conversely, that if we don’t address the issue, it will carry over into at least releases 10, 11 and 12.

My colleague @matheuszych has kindly created a PR for this. Many thanks!
This can be found under #12066 .

I’d be grateful if @Annett7811 could provide some feedback on this (feel free to do so in the PR as well).
I’d then pass it on to @alex40724 for a review and integration, as the changes aren’t located in the ‘ItemGroup’ directory but in ‘Container’.

Many thanks to everyone involved.

@Annett7811 Annett7811 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @matheuszych!

From an accessibility standpoint, this looks good. The object block can now be opened using the keyboard when it is closed. Thank you very much for your work and for fixing this!

Best regards
@Annett7811

@alex40724

alex40724 commented Sep 18, 2026

Copy link
Copy Markdown
Member

Thanks for the PR. This looks good from my side. CSS needs to be checked by @BettyFromHH

@matheuszych I assigned you. If all reviews are positive you can merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Pull requests that propose A11Y changes. bugfix css/html Pull requests that propose changes to CSS/SCSS or HTML files. php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants