Repository navigation
Conversation
- Remove the duplicated sentence on `web-accessibility.md` line 49. - Document Flutter 3.50 WCAG 2.1 AA web accessibility improvements: `Slider`/`RangeSlider` and `SemanticsRole.slider` `<input type="range" role="slider">` semantics, named route `role="region"` landmarks, focus preservation across semantic role changes, `Escape` tooltip dismissal, `maximum-scale=5.0` pinch-to-zoom, iOS Safari 16px input auto-zoom prevention, and `<flutter-view>`-scoped `<flt-semantics-placeholder>`. - Document runtime `debugShowSemanticsNodes` query parameter and `flutter_bootstrap.js` configuration in `accessibility-testing.md`. Fixes #13963
|
Staged preview of the updated docs.flutter.dev site (updated for commit 530b705): https://flutter-docs-prod--docs-pr13987-web-a11y-13963-t75hg5mc.web.app |
There was a problem hiding this comment.
Code Review
This pull request updates the Flutter web accessibility documentation to include instructions for enabling semantic node visualization at runtime via flutter_bootstrap.js, details on mobile browser scoping for the accessibility button, and new features introduced in Flutter 3.50 (such as enhanced slider semantics, landmarks, focus preservation, and viewport zoom configurations). The review feedback correctly identifies two misleading technical descriptions: it recommends clarifying that namesRoute is a boolean property rather than a label string to prevent compilation errors, and suggests correcting the non-standard reference to the standard viewport tag with id="flt-viewport".
Updates web accessibility and testing documentation for the Flutter 3.50 WCAG 2.1 AA improvements and removes a duplicated sentence in
web-accessibility.md:<input type="range" role="slider">semantics (Slider,RangeSlider, andSemanticsRole.slider), named routerole="region"landmarks, focus preservation across semantic role changes, andEscapetooltip dismissal.maximum-scale=5.0viewport pinch-to-zoom, iOS Safari 16px input font-size floor,<flutter-view>scoping for<flt-semantics-placeholder>, and runtimedebugShowSemanticsNodes: trueconfiguration influtter_bootstrap.js.Fixes #13963