Skip to content

Add accessibility support for BEMCheckBox#15

Merged
mrbiggred merged 4 commits intomainfrom
feature/add-accessiblity-support
Oct 1, 2025
Merged

Add accessibility support for BEMCheckBox#15
mrbiggred merged 4 commits intomainfrom
feature/add-accessiblity-support

Conversation

@mrbiggred
Copy link
Copy Markdown
Member

Enhance BEMCheckBox with accessibility features. Update UI tests to reliably locate the checkbox using accessibility labels. Run the tests during the CI.

Also fix the failing UI test using the accessibility support to relability find the checkbox.
@mrbiggred mrbiggred self-assigned this Sep 30, 2025
@mrbiggred mrbiggred added the enhancement New feature or request label Sep 30, 2025
@mrbiggred mrbiggred added this to the v2.1.0 milestone Sep 30, 2025
@mrbiggred mrbiggred requested a review from Copilot September 30, 2025 13:58
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds accessibility support to the BEMCheckBox control and updates the UI testing infrastructure to use more reliable element queries. The changes enhance the checkbox for users with disabilities by providing proper accessibility labels, traits, and values that dynamically update based on the checkbox state.

  • Added accessibility properties to BEMCheckBox including label, traits, and dynamic value updates
  • Refactored UI tests to use accessibility-based element queries instead of complex navigation hierarchies
  • Updated CI workflow to run unit tests during the build process

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
Classes/BEMCheckBox.swift Added accessibility element configuration and dynamic value updates
Sample Project/CheckBoxUITests/CheckBoxUITests.m Simplified element queries using accessibility identifiers
.github/workflows/ci.yml Added unit test execution to CI pipeline
CHANGELOG.md Updated release notes with issue count and formatting changes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@mrbiggred mrbiggred merged commit 4f4e2d9 into main Oct 1, 2025
5 checks passed
@mrbiggred mrbiggred deleted the feature/add-accessiblity-support branch October 1, 2025 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants