From d0997cadc5612b471c4c8c633de7cdd209575dd6 Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Tue, 11 Mar 2025 18:26:43 -0500 Subject: [PATCH] Fix screen reader text for cards --- src/content/add-to-app/index.md | 12 ++++++------ src/content/get-started/install/chromeos/index.md | 4 ++-- src/content/get-started/install/index.md | 4 ++-- src/content/get-started/install/linux/index.md | 4 ++-- src/content/get-started/install/macos/index.md | 4 ++-- src/content/get-started/install/windows/index.md | 4 ++-- src/content/index.md | 2 +- .../android/install-android/index.md | 4 ++-- .../platform-integration/ios/install-ios/index.md | 2 +- .../linux/install-linux/index.md | 2 +- .../macos/install-macos/index.md | 2 +- .../windows/install-windows/index.md | 2 +- src/content/reference/create-new-app.md | 14 +++++++------- src/content/reference/widgets.md | 2 +- src/content/ui/navigation/deep-linking.md | 4 ++-- src/content/ui/widgets/index.md | 4 ++-- 16 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/content/add-to-app/index.md b/src/content/add-to-app/index.md index 3015048684..079d2d1d56 100644 --- a/src/content/add-to-app/index.md +++ b/src/content/add-to-app/index.md @@ -124,17 +124,17 @@ Android and iOS:
-
Android
+ Android
-
iOS
+ iOS
-
Web
+ Web
@@ -147,17 +147,17 @@ see our API usage guides at the following links:
-
Android
+ Android
-
iOS
+ iOS
-
Web
+ Web
diff --git a/src/content/get-started/install/chromeos/index.md b/src/content/get-started/install/chromeos/index.md index 345e434bbe..75293d2a42 100644 --- a/src/content/get-started/install/chromeos/index.md +++ b/src/content/get-started/install/chromeos/index.md @@ -14,7 +14,7 @@ js: [{url: '/assets/js/temp/chromeos-install-redirector.js'}]
{% for target in target-list %} - + {% assign icon = target | downcase -%}
{% if icon == 'android' -%} @@ -24,7 +24,7 @@ js: [{url: '/assets/js/temp/chromeos-install-redirector.js'}] {% endif -%}
-
{{target}}
+ {{target}} {% if icon == 'android' -%} Recommended {% endif -%} diff --git a/src/content/get-started/install/index.md b/src/content/get-started/install/index.md index 4b32f5efea..fcf04de560 100644 --- a/src/content/get-started/install/index.md +++ b/src/content/get-started/install/index.md @@ -8,12 +8,12 @@ js: [{url: '/assets/js/page/install-current.js'}]
{% for os in os-list %} - +
-
{{os}}
+ {{os}}
{% endfor %} diff --git a/src/content/get-started/install/linux/index.md b/src/content/get-started/install/linux/index.md index 23124afd59..0402994428 100644 --- a/src/content/get-started/install/linux/index.md +++ b/src/content/get-started/install/linux/index.md @@ -14,7 +14,7 @@ js: [{url: '/assets/js/temp/linux-install-redirector.js'}]
{% for target in target-list %} - + {% assign icon = target | downcase -%}
{% if icon == 'desktop' -%} @@ -26,7 +26,7 @@ js: [{url: '/assets/js/temp/linux-install-redirector.js'}] {% endif -%}
-
{{target}}
+ {{target}} {% if icon == 'android' -%} Recommended {% endif -%} diff --git a/src/content/get-started/install/macos/index.md b/src/content/get-started/install/macos/index.md index 853540fcea..5c5fb84379 100644 --- a/src/content/get-started/install/macos/index.md +++ b/src/content/get-started/install/macos/index.md @@ -21,7 +21,7 @@ js: [{url: '/assets/js/temp/macos-install-redirector.js'}] {% assign targetlink = target | downcase %} {% endcase %} -
+ {% assign icon = target | downcase -%}
{% case icon %} @@ -36,7 +36,7 @@ js: [{url: '/assets/js/temp/macos-install-redirector.js'}] {% endcase -%}
-
{{target}}
+ {{target}} {% if icon == 'ios' -%} Recommended {% endif -%} diff --git a/src/content/get-started/install/windows/index.md b/src/content/get-started/install/windows/index.md index ac9d3bf788..b70b797023 100644 --- a/src/content/get-started/install/windows/index.md +++ b/src/content/get-started/install/windows/index.md @@ -20,7 +20,7 @@ js: [{url: '/assets/js/temp/windows-install-redirector.js'}] {% else %} {% assign targetlink = target | downcase %} {% endcase %} -
+ {% assign icon = target | downcase -%}
{% case icon %} @@ -33,7 +33,7 @@ js: [{url: '/assets/js/temp/windows-install-redirector.js'}] {% endcase -%}
-
Make iOS and {{ target }}{% if target == 'macOS' %} desktop{% endif %} apps
+ Make iOS and {{ target }}{% if target == 'macOS' %} desktop{% endif %} apps
{% endfor %} diff --git a/src/content/platform-integration/linux/install-linux/index.md b/src/content/platform-integration/linux/install-linux/index.md index 69225b33e2..968f9b7c3d 100644 --- a/src/content/platform-integration/linux/install-linux/index.md +++ b/src/content/platform-integration/linux/install-linux/index.md @@ -23,7 +23,7 @@ or the platform you already have set up. {% endcase -%}
-
Make {{ target }} and Linux desktop apps
+ Make {{ target }} and Linux desktop apps
{% endfor %} diff --git a/src/content/platform-integration/macos/install-macos/index.md b/src/content/platform-integration/macos/install-macos/index.md index 198e78b639..56149678dc 100644 --- a/src/content/platform-integration/macos/install-macos/index.md +++ b/src/content/platform-integration/macos/install-macos/index.md @@ -27,7 +27,7 @@ or the platform you already have set up.
-
Make {{ target }} and macOS desktop apps
+ Make {{ target }} and macOS desktop apps
{% endfor %} diff --git a/src/content/platform-integration/windows/install-windows/index.md b/src/content/platform-integration/windows/install-windows/index.md index 60f04da410..a8ddb32965 100644 --- a/src/content/platform-integration/windows/install-windows/index.md +++ b/src/content/platform-integration/windows/install-windows/index.md @@ -25,7 +25,7 @@ or the platform you already have set up.
-
Make Windows desktop and {{ target }} apps
+ Make Windows desktop and {{ target }} apps
{% endfor %} diff --git a/src/content/reference/create-new-app.md b/src/content/reference/create-new-app.md index 07d4b74809..c9ba3fb6d5 100644 --- a/src/content/reference/create-new-app.md +++ b/src/content/reference/create-new-app.md @@ -15,7 +15,7 @@ choose your preferred environment and follow the corresponding instructions.
-
VS Code
+ VS Code

Create a new Flutter app without leaving VS Code.

@@ -23,7 +23,7 @@ choose your preferred environment and follow the corresponding instructions.
-
Android Studio
+ Android Studio

Create a new Flutter app without leaving Android Studio.

@@ -31,7 +31,7 @@ choose your preferred environment and follow the corresponding instructions.
-
IntelliJ
+ IntelliJ

Create a new Flutter app without leaving your IntelliJ-based IDE.

@@ -39,7 +39,7 @@ choose your preferred environment and follow the corresponding instructions.
-
Project IDX
+ Project IDX

For quick and easy setup, create a new Flutter app in Project IDX.

@@ -47,7 +47,7 @@ choose your preferred environment and follow the corresponding instructions.
-
Terminal
+ Terminal

For maximum flexibility, create a new Flutter app from the command line.

@@ -55,10 +55,10 @@ choose your preferred environment and follow the corresponding instructions.
-
+ Add to app -
+

Create a new Flutter module to embed in an existing app.

diff --git a/src/content/reference/widgets.md b/src/content/reference/widgets.md index 33f3e7f7da..b6f43199d2 100644 --- a/src/content/reference/widgets.md +++ b/src/content/reference/widgets.md @@ -33,7 +33,7 @@ our [videos](/resources/videos) page. {% endif -%}
-
{{comp.name}}
+ {{comp.name}}