mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
perf: disable accessibility for layout views (#10482)
a11y is enabled by default on controls still, this just disables on layouts alone as unnecessary. It can be enabled on a per layout view basis if needed anytime.
This commit is contained in:
@@ -26,6 +26,7 @@ function makePropertyEnumConverter<T>(enumValues) {
|
||||
|
||||
export const accessibilityEnabledProperty = new CssProperty<Style, boolean>({
|
||||
name: 'accessible',
|
||||
defaultValue: true,
|
||||
cssName: 'a11y-enabled',
|
||||
valueConverter: booleanConverter,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user