Skip to content

label attribute does not affect aria label #12

@gpoole

Description

@gpoole

Thanks for this great component!

I've noticed setting the label attribute like this does not appear to set the inner button's aria-label attribute:

    <fade-burger distance="sm" label="Open site menu"></fade-burger>

But setting element.label with javascript does update the aria-label attribute on the button.

It looks like maybe the aria-label is only set in the setter for element.label but maybe this isn't called on init?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions