Commit 8bcf9a26 authored by Thomas Tangl's avatar Thomas Tangl Committed by Commit Bot

[Dice] Add accessible name to dropdown arrow

This CL adds an accessible name to the
"Sync with another account" dropdown arrow in
the contextual promos.

Bug: 814986
Change-Id: Icb43e48a398178d30cd7517b1aba2c1efa697492
Reviewed-on: https://chromium-review.googlesource.com/939397Reviewed-by: default avatarMihai Sardarescu <msarda@chromium.org>
Commit-Queue: Thomas Tangl <tangltom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#539822}
parent 174f7bec
......@@ -109,6 +109,8 @@ DiceSigninButton::DiceSigninButton(const AccountInfo& account,
views::Button::STATE_NORMAL,
gfx::CreateVectorIcon(kSigninButtonDropDownArrowIcon,
kDropDownArrowIconSize, SK_ColorWHITE));
arrow_->SetAccessibleName(l10n_util::GetStringUTF16(
IDS_PROFILES_DICE_SIGNIN_WITH_ANOTHER_ACCOUNT_BUTTON));
AddChildView(arrow_);
}
......
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