Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Event tables have broken aria-labels #31545

@MinnDevelopment

Description

@MinnDevelopment

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

admin/ui

Describe the bug

We recently tried to update to keycloak 25.0.2 and ran into the problem that all column headers in /admin/master/console/#/[realmName]/events now have the same aria label, seemingly copied from the table name.

In Admin Events all of them have the label "Admin events" and in User Events they are "Events". This breaks our playwright scripts for automated testing, since it overwrites the name of these nodes to a less accessible name.

image

image

Version

25.0.2

Regression

  • The issue is a regression

Expected behavior

Either there should not be aria-labels on these th elements, or they should be more useful and context aware.

Actual behavior

Labels that overwrite the accessible name of the column headers with a redundant name.

How to Reproduce?

Open the events page and inspect using any accessibility / devtools in the browser.

Anything else?

Seems to have been introduced by recent PR that changed these tables: #29812

Specifically, this line seems to be wrong:

I'm not entirely sure what the intention here is, for now I would likely just remove these labels entirely.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions