Skip to content

feat: alias isInaccessible as isHiddenFromAccessibility #1211

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

Merged
merged 10 commits into from
Nov 8, 2022

Conversation

mdjastrzebski
Copy link
Member

Summary

Rename isInaccessible as isHiddenFromAccessibility. Then provide RTL-compat alias isInaccessible, but only as a secondary option.

Test plan

Update existing tests to use isHiddenFromAccessibility.

@codecov
Copy link

codecov bot commented Nov 4, 2022

Codecov Report

Base: 94.38% // Head: 94.49% // Increases project coverage by +0.11% 🎉

Coverage data is based on head (b97bf09) compared to base (860356b).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1211      +/-   ##
==========================================
+ Coverage   94.38%   94.49%   +0.11%     
==========================================
  Files          42       42              
  Lines        2936     2927       -9     
  Branches      435      435              
==========================================
- Hits         2771     2766       -5     
+ Misses        165      161       -4     
Impacted Files Coverage Δ
src/helpers/accessiblity.ts 100.00% <100.00%> (+5.19%) ⬆️
src/helpers/findAll.ts 100.00% <100.00%> (ø)
src/pure.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mdjastrzebski mdjastrzebski force-pushed the feature/rename-is-hidden-from-accessibility branch from 4a713f9 to f54a037 Compare November 4, 2022 21:50
@mdjastrzebski mdjastrzebski merged commit 92cb031 into main Nov 8, 2022
@mdjastrzebski mdjastrzebski deleted the feature/rename-is-hidden-from-accessibility branch November 8, 2022 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants