-
Notifications
You must be signed in to change notification settings - Fork 6k
[web:a11y] make header a proper <header> #55747
Conversation
Co-authored-by: Navaron Bracke <[email protected]>
Co-authored-by: Navaron Bracke <[email protected]>
…156541) flutter/engine@590babc...3ce72a2 2024-10-10 [email protected] Roll Skia from 0a9bfc90496e to 1e269594df9d (1 revision) (flutter/engine#55801) 2024-10-10 [email protected] Roll Skia from 6e4a2f266a17 to 0a9bfc90496e (2 revisions) (flutter/engine#55799) 2024-10-10 [email protected] Roll Skia from 3a9e6b6a4721 to 6e4a2f266a17 (1 revision) (flutter/engine#55797) 2024-10-10 [email protected] Roll buildroot to pick up change to --time executions (flutter/engine#55792) 2024-10-10 [email protected] Roll Skia from 8c95b719bf05 to 3a9e6b6a4721 (1 revision) (flutter/engine#55793) 2024-10-09 [email protected] Move some `et` tests around and delete unused files. (flutter/engine#55764) 2024-10-09 [email protected] [web:a11y] make header a proper <header> (flutter/engine#55747) 2024-10-09 [email protected] Roll Skia from cf9a558b3abb to 8c95b719bf05 (1 revision) (flutter/engine#55788) 2024-10-09 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Reverts "Run gen_snapshot under /usr/bin/time (#55777)" (#55787)" (flutter/engine#55789) 2024-10-09 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Run gen_snapshot under /usr/bin/time (#55777)" (flutter/engine#55787) 2024-10-09 [email protected] Roll Skia from 1349ddc074ad to cf9a558b3abb (2 revisions) (flutter/engine#55785) 2024-10-09 [email protected] Run gen_snapshot under /usr/bin/time (flutter/engine#55777) 2024-10-09 [email protected] [Impeller] libImpeller: Publish SDK artifacts. (flutter/engine#55783) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Hey folks, this change broke our app. We're running into two issues.
Internal bug b/374695603. |
Regarding my point #2, here's the issue using Wikipedia as a proxy, given that it has a very similar layout to our app: |
Time to revert pull request flutter/engine/55747 has elapsed. |
This reverts commit 2fbb0c1.
This reverts commit 2fbb0c1. This broke a customer: #55747 (comment)
…lutter#55993) This reverts commit d302cc9.
…lutter#55993) This reverts commit d302cc9.
…ty (#55996) This relands the [reverted](#55993) [original PR](#55747) with one important adjustment: if the header is empty and has a label, it is rendered as a heading (`<h1>`, `<h2>`, etc) instead of a `<header>`. This is to be consistent with mobile, where headers are frequently used as headings, and screen readers do indeed read it as "heading". Changing all headers to the `<header>` tag turned to out to be too disruptive to existing usages of `SemanticsProperties.header`. Long-term, when flutter/flutter#155928 is implemented, we could migrate the framework to use `SemanticsProperties.headingLevel` to communicate that something is a heading, and encourage our users to move from `header` to `headingLevel` as well. After that migration is done, we could make all headers proper `<header>` tags, and not special-case empty headers. Fixes flutter/flutter#152268
Now that we have [proper headings](https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/semantics/heading.dart), headers should become proper headers. Fixes flutter#152268
…utter/engine#55993) This reverts commit e478ea9. This broke a customer: flutter/engine#55747 (comment)
…ty (flutter/engine#55996) This relands the [reverted](flutter/engine#55993) [original PR](flutter/engine#55747) with one important adjustment: if the header is empty and has a label, it is rendered as a heading (`<h1>`, `<h2>`, etc) instead of a `<header>`. This is to be consistent with mobile, where headers are frequently used as headings, and screen readers do indeed read it as "heading". Changing all headers to the `<header>` tag turned to out to be too disruptive to existing usages of `SemanticsProperties.header`. Long-term, when flutter#155928 is implemented, we could migrate the framework to use `SemanticsProperties.headingLevel` to communicate that something is a heading, and encourage our users to move from `header` to `headingLevel` as well. After that migration is done, we could make all headers proper `<header>` tags, and not special-case empty headers. Fixes flutter#152268
Now that we have proper headings, headers should become proper headers.
Fixes flutter/flutter#152268