Skip to content

fix(BBButton): only default aria-labelledby when a matching label element renders#55

Merged
Arthurk12 merged 1 commit into
bigbluebutton:developfrom
Arthurk12:aria-label-BBButton
Jul 13, 2026
Merged

fix(BBButton): only default aria-labelledby when a matching label element renders#55
Arthurk12 merged 1 commit into
bigbluebutton:developfrom
Arthurk12:aria-label-BBButton

Conversation

@Arthurk12

Copy link
Copy Markdown
Member

What does this PR do?

aria-labelledby was always pointed at a generated "-label" id, but only the stacked layout (and default layout with a label) actually render an element with that id. On circle layout, or default layout without a label, the id never exists in the DOM, so axe flags it as referencing a missing element. Now it falls back to aria-label in those cases instead.

…ment renders

aria-labelledby was always pointed at a generated "-label" id, but only the
stacked layout (and default layout with a label) actually render an element
with that id. On circle layout, or default layout without a label, the id
never exists in the DOM, so axe flags it as referencing a missing element.
Now it falls back to aria-label in those cases instead.
@Arthurk12
Arthurk12 changed the base branch from main to develop July 9, 2026 23:23
@Arthurk12
Arthurk12 merged commit 5cc4275 into bigbluebutton:develop Jul 13, 2026
2 checks passed
@Arthurk12
Arthurk12 deleted the aria-label-BBButton branch July 13, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant