ngx-intl-tel-input icon indicating copy to clipboard operation
ngx-intl-tel-input copied to clipboard

Accessibility issues

Open mmzhai opened this issue 5 years ago • 1 comments

Thanks for the great library. We had an accessibility audit couple of issues for this library popped up:

  1. the combobox may not be the optimal aria role (since there is no text input). Recommended pattern is the button menu: https://www.w3.org/TR/wai-aria-practices-1.1/examples/menu-button/menu-button-actions-active-descendant.html

  2. When there are preferredCountries set, they appear twice in the dropdown resulting in the same label being duplicated. It might make sense if when a country is set as default, it gets removed from the list underneath.

Thanks!

mmzhai avatar Nov 04 '19 19:11 mmzhai

Thanks for the feedback. Currently, I'm the only one who is maintaining this library :) I will keep this in mind! Please submit a PR if you do any fixes from your side.

pasevin avatar Mar 11 '20 21:03 pasevin