You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the flag is enabled, do not apply the ARIA reflection poyfill to the global Element.prototype
Instead, when the flag is enabled, apply it selectively only to LightningElement
This should be the minimum we can do to get rid of the global polyfill while not totally breaking backwards compatibility. It shouldn't require any template compiler changes, and the only thing it would break is:
constdiv=document.createElement('div')div.ariaActiveDescendant='foo'div.getAttribute('aria-activedescendant')// "foo" because reflected by the polyfill
On LightningElements, the ARIA property/attribute reflection would continue working like before.
However, since this is technically a breaking/observable change, all observable changes should be behind the flag.
The text was updated successfully, but these errors were encountered:
See: #2733 (comment)
Steps:
Element.prototype
LightningElement
This should be the minimum we can do to get rid of the global polyfill while not totally breaking backwards compatibility. It shouldn't require any template compiler changes, and the only thing it would break is:
On
LightningElement
s, the ARIA property/attribute reflection would continue working like before.However, since this is technically a breaking/observable change, all observable changes should be behind the flag.
The text was updated successfully, but these errors were encountered: