Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror disabled state through aria-disabled on selection #5579

Merged
merged 1 commit into from Jul 21, 2019

Commits on Jul 21, 2019

  1. Mirror disabled state through aria-disabled on selection

    This is needed to screen readers know that the Select2 is disabled
    when focus is put on the selection container. Because we were
    mirroring the disabled state to the search input on a multiple
    select in the past, this is really only needed for single select
    elements which would not otherwise has the disabled property.
    
    This was identified in a previous accessibility audit as being
    something which Select2 did not properly report because we were
    not setting the attributes properly.
    
    Fixes #4575
    kevin-brown committed Jul 21, 2019
    Copy the full SHA
    32cb538 View commit details
    Browse the repository at this point in the history