Commit 01aa328b authored by harrisonsean's avatar harrisonsean Committed by Commit Bot

[iOS][Safety Check] Add button accessibility label

Add button accessiblility label to items when they are clickable.

Bug: 1078782
Change-Id: I07fb2e6b965218aefd4fb5ff0627ccfa5c202834
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2490108
Commit-Queue: Sean Harrison <harrisonsean@chromium.org>
Reviewed-by: default avatarJavier Ernesto Flores Robles <javierrobles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820247}
parent 451bfe3c
...@@ -279,6 +279,7 @@ constexpr double kSafeBrowsingRowMinDelay = 1.75; ...@@ -279,6 +279,7 @@ constexpr double kSafeBrowsingRowMinDelay = 1.75;
[[TableViewTextItem alloc] initWithType:CheckStartItemType]; [[TableViewTextItem alloc] initWithType:CheckStartItemType];
_checkStartItem.text = GetNSString(IDS_IOS_CHECK_PASSWORDS_NOW_BUTTON); _checkStartItem.text = GetNSString(IDS_IOS_CHECK_PASSWORDS_NOW_BUTTON);
_checkStartItem.textColor = [UIColor colorNamed:kBlueColor]; _checkStartItem.textColor = [UIColor colorNamed:kBlueColor];
_checkStartItem.accessibilityTraits |= UIAccessibilityTraitButton;
} }
return self; return self;
} }
......
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