We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug On web, with accessibility enabled, a screen reader will read the hidden splash image as "light one times png image".
To Reproduce
Expected behavior The hidden splash image should also be hidden from screen readers.
Screenshots
Device (please complete the following information):
Flutter doctor
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-x64, locale en-US) • Flutter version 2.5.3 at /Users/vsomayaji/Dev/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700 • Engine revision d3ea636dc5 • Dart version 2.14.4 [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/vsomayaji/Library/Android/sdk • Platform android-30, build-tools 30.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 13.1, Build version 13A1030d • CocoaPods version 1.11.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2020.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165) [✓] IntelliJ IDEA Ultimate Edition (version 2021.1.2) • IntelliJ at /Applications/IntelliJ IDEA.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] Connected device (1 available) • Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.69 • No issues found!
Additional context Adding aria-hidden="true" to the img element may do the trick:
aria-hidden="true"
img
flutter_native_splash/lib/templates.dart
Line 373 in 6f074a7
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion. I will add this in the next version of the package.
Sorry, something went wrong.
18f2346
No branches or pull requests
Describe the bug
On web, with accessibility enabled, a screen reader will read the hidden splash image as "light one times png image".
To Reproduce
Expected behavior
The hidden splash image should also be hidden from screen readers.
Screenshots
![IMG_0230](https://user-images.githubusercontent.com/1007109/140391477-0acd4123-5cf3-4e4e-9807-69e20f5f918a.PNG)
Device (please complete the following information):
Flutter doctor
Additional context
Adding
aria-hidden="true"
to theimg
element may do the trick:flutter_native_splash/lib/templates.dart
Line 373 in 6f074a7
The text was updated successfully, but these errors were encountered: