这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@swngarg-lt
Copy link

NOTE: only for source api (with useJSONSource)

@swngarg-lt swngarg-lt changed the title re-use parent's accessibility property fix: re-use parent's accessibility property Jan 7, 2025
},
@"accessible": ^{
return [@([wrappedSnapshot isWDAccessible]) stringValue];
if (parentAccessible) {

Choose a reason for hiding this comment

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

I am not quite convinced about this change, because:

  • It breaks the backward compatiblity
  • It does not properly calculate the accessibility value for tree elements
  • It causes unnecessary code duplication

@swngarg-lt swngarg-lt marked this pull request as draft January 7, 2025 20:38
@mykola-mokhnach
Copy link

@swngarg-lt I have created #968

The change there is breaking, but it only affects debug into of an accessibility audit element. Most likely it would also require a major version bump.

Nevertheless please check if it solves your original problem.

@swngarg-lt swngarg-lt closed this Jan 8, 2025
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.

2 participants