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

fix(engine-core): fix non-native ARIA reflection #3918

Merged
merged 7 commits into from
Jan 3, 2024

Conversation

nolanlawson
Copy link
Collaborator

@nolanlawson nolanlawson commented Dec 21, 2023

Details

Fixes #3917

The goal of this PR is to get the behavior of this.aria* and elm.aria* to work exactly the same as it did in LWC v3 (before we removed the global ARIA polyfill).

A new test is added which asserts the pre-v4 behavior, so that we don't regress again.

Does this pull request introduce a breaking change?

  • ✅ No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • ⚠️ Yes, it does include an observable change.

Technically yes, the new ARIA props we started supporting in #3702 now behave the same as all the other ARIA props, regardless of whether the browser supports them or not. This is a good thing, since we're allowed to polyfill whatever we want on LightningElement and BaseBridgeElement, and it's good to be consistent.

These new ARIA props are rarely used, and we're exposing new functionality rather than changing existing functionality, so I don't expect any breakages from this.

@nolanlawson nolanlawson requested a review from a team as a code owner December 21, 2023 20:58
@jmsjtu
Copy link
Member

jmsjtu commented Jan 3, 2024

@nolanlawson lgtm!

@nolanlawson nolanlawson merged commit 646205e into master Jan 3, 2024
9 checks passed
@nolanlawson nolanlawson deleted the nolan/aria-props-fixed branch January 3, 2024 17:33
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.

Non-standard ARIA reflection regression in LWC v4
2 participants