Commit a3044b98 authored by Fabio Tirelo's avatar Fabio Tirelo Committed by Commit Bot

Add status role to cleanup page title

This fixes two accessibility issues:
 - title not updated when state changes;
 - focus changed to the end of the page when UI is updated.

Bug: 806324
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I8a274a96b1bb5fabca8278e8241d91fb0a4be93c
Reviewed-on: https://chromium-review.googlesource.com/889578Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
Commit-Queue: Fabio Tirelo <ftirelo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532231}
parent 2dd044bc
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
</iron-icon> </iron-icon>
</div> </div>
<div class="start"> <div class="start">
<div>[[title_]]</div> <div role="status">[[title_]]</div>
<div hidden="[[!showExplanation_]]"> <div hidden="[[!showExplanation_]]">
<span class="secondary">[[explanation_]]</span> <span class="secondary">[[explanation_]]</span>
<a id="learn-more" href="$i18n{chromeCleanupLearnMoreUrl}" <a id="learn-more" href="$i18n{chromeCleanupLearnMoreUrl}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment