Skip to content

(BUG) accessibility issue, add a for on the <label> in countrySelector  #195

@dalSara

Description

@dalSara

Describe the bug

without the "for" attribute on the label, accessible technology can not make the connection between the label and the dropdown.

Steps to reproduce

Try to use the VuePhoneNumberInput with a screen reader or use one of the test tools like wave

Expected behavior

If the label has a for attribute matching the inputs id, screen readers will read the value of the label

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions