From 263c39fd1f98a44aa655e920269a352ba6d9e4f7 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Lapersonne Date: Tue, 30 Jan 2024 18:08:52 +0100 Subject: [PATCH] fix(#588): a11y - vocalized focus for variants of text fields Signed-off-by: Pierre-Yves Lapersonne --- .../Components/Pages/TextFields/TextFieldComponent.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OrangeDesignSystemDemo/OrangeDesignSystemDemo/Screens/Components/Pages/TextFields/TextFieldComponent.swift b/OrangeDesignSystemDemo/OrangeDesignSystemDemo/Screens/Components/Pages/TextFields/TextFieldComponent.swift index 24a4b908..b3ff5477 100644 --- a/OrangeDesignSystemDemo/OrangeDesignSystemDemo/Screens/Components/Pages/TextFields/TextFieldComponent.swift +++ b/OrangeDesignSystemDemo/OrangeDesignSystemDemo/Screens/Components/Pages/TextFields/TextFieldComponent.swift @@ -33,15 +33,15 @@ struct TextFieldVariants: View { var body: some View { VariantEntryItem(title: "screens.components.textfields.variants.secure", technicalElement: "SecureField()") { - SecureTextFieldVariant().navigationTitle("screens.components.textfields.variants.secure") + SecureTextFieldVariant().odsNavigationTitle("screens.components.textfields.variants.secure".🌐) } VariantEntryItem(title: "shared.text_field", technicalElement: "TextField()") { - TextFieldVariant().navigationTitle("shared.text_field") + TextFieldVariant().odsNavigationTitle("shared.text_field".🌐) } VariantEntryItem(title: "screens.components.textfields.variants.editor", technicalElement: "TextEditor()") { - TextEditorVariant().navigationTitle("screens.components.textfields.variants.editor") + TextEditorVariant().odsNavigationTitle("screens.components.textfields.variants.editor".🌐) } } }