forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add slow speed mode with toggle to Dino game for a11y
+ Default to slow speed when starting the game with focus on dino canvas element either with tab focus or screen reader focus. + Display a toggle to allow optional switching to regular speed. + Toggle is presented on focus on desktop, whereas on mobile it is shown on game over as the touch event starts the game. + Adjustments are made to the jump height and gravity to compensate for slower horizontal scrolling. Bug: 1206415 Change-Id: Ib0e4e9a616703e84c4d911855c1068cb38c23a1b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2876190 Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Ian Wells <iwells@chromium.org> Commit-Queue: Edward Jung (EMEA) <edwardjung@chromium.org> Cr-Commit-Position: refs/heads/master@{#883955}
- Loading branch information
Edward Jung
authored and
Chromium LUCI CQ
committed
May 18, 2021
1 parent
c939688
commit b149581
Showing
5 changed files
with
307 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
components/error_page_strings_grdp/IDS_ERRORPAGE_DINO_SLOW_SPEED_TOGGLE.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1fd277f722ecd0a83b5f711d8b52c8cf6fdbbe21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.