Skip to content

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

Open
Arthurk12 wants to merge 1 commit into
bigbluebutton:developfrom
Arthurk12:aria-label-BBButton
Open

fix(BBButton): only default aria-labelledby when a matching label element renders#55
Arthurk12 wants to merge 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
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