Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

checkbox: aria-checked attribute gives unexpected results #12046

Description

@sharonlevyex

Bug Report

In md-checkbox, when unchecking the sub checkboxes the screen reader reads "half checked" on the main checkbox even though it's supposed to read "not checked".

Demo and steps to reproduce the issue

Demo URL*: go to select all demo in https://material.angularjs.org/1.2.1/demo/checkbox
image

Detailed Reproduction Steps

  1. uncheck checkbox 1
  2. now the select all should be unchecked
  3. See that the select all checkbox has aria-checked="mixed" attribute.

Explain the expected behavior

After unselecting all checkboxes the aria-checked attribute is supposed to be "false".

Explain the current behavior

After unselecting all checkboxes the aria-checked attribute is "mixed".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2: requiredIssues that must be fixed.a11yThis issue is related to accessibilityhas: Pull RequestA PR has been created to address this issuetype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions