Commit Graph

136 Commits

Author SHA1 Message Date
Sean Lip
30a4a1930f Fix issue with aria-liveregion not speaking. Allow sufficient time for alert noise to play before speaking the notification. 2016-12-08 19:55:42 -08:00
Sean Lip
521909b2dd Add an aria-describedby to the 'create new block group...' button in the workspace to give more context. 2016-12-08 19:23:40 -08:00
Sean Lip
5960aa8461 Use Tab keys instead of arrow keys for dialog boxes. Set role=alertdialog and read out the header/text automatically. Ensure that Esc key actually closes dialogs and that all keystrokes are captured. 2016-12-08 18:27:17 -08:00
Sean Lip
09980308ec Remove premature focus on buttons in modal dialogs, since this prevents readout of the dialog text. 2016-12-05 18:12:48 -08:00
Sean Lip
2a172c761c Standardize indentation. 2016-12-05 17:54:12 -08:00
Sean Lip
51f42ef5a3 Remove some functions from utilsService and consolidate code in workspace-tree.component.js. 2016-12-05 17:52:45 -08:00
Sean Lip
04785a2222 Clean up the sidebar file and remove unneeded code. 2016-12-05 17:39:03 -08:00
Sean Lip
7b7e62e3e2 When adding a new block group from the toolbox modal, only show blocks with no output connections. 2016-12-05 16:39:12 -08:00
Sean Lip
e13ce31282 Change dropdowns to select fields instead of lists of buttons. 2016-12-01 14:56:09 -08:00
Sean Lip
10efda6d9c Refactor and simplify marked spot logic. 2016-11-30 16:45:06 -08:00
Sean Lip
4c30b91bc6 Remove clipboard functionality. 2016-11-30 15:31:19 -08:00
Sean Lip
69d4ebb6dd Improve styling of sidebar buttons. 2016-11-29 19:01:34 -08:00
Sean Lip
65bad28f61 Minor refactoring. Remove unused dependencies. 2016-11-29 18:50:31 -08:00
Sean Lip
4e623631dd Update config options for sidebar buttons. 2016-11-29 18:24:50 -08:00
Sean Lip
b75925004c Do some refactoring and tidy-up. Pull some hardcoded strings out for i18n purposes; remove unused strings. 2016-11-28 18:57:44 -08:00
Sean Lip
aa49539059 Remove unavailable blocks from toolbox modal. Hide unnecessary category name in a toolbox without categories. 2016-11-28 18:24:31 -08:00
Sean Lip
89e9f370b7 Add information regarding target screen reader and browser. 2016-11-28 16:37:12 -08:00
Sean Lip
664e6dcf7e Set focus correctly when toolbox modal is dismissed. 2016-11-28 16:34:52 -08:00
Sean Lip
3b24391768 Do not show disabled actions in the block options modal. 2016-11-28 16:01:15 -08:00
Sean Lip
36b0213533 Streamline the logic for block selection callbacks in the toolbox modal. 2016-11-28 14:26:38 -08:00
Sean Lip
e8e8de93bb Handle the finer points for setting focus correctly after deleting blocks from the workspace. 2016-11-22 17:58:37 -08:00
Sean Lip
5c79d2f36f When the workspace is empty, make it easy for the user to add a new group of blocks to it. 2016-11-22 15:53:45 -08:00
Sean Lip
10a8844980 Add warning sounds when the user reaches a boundary of the workspace. 2016-11-17 17:45:42 -08:00
Sean Lip
602c1ba56e Delete the on-screen toolbox. 2016-11-17 17:45:12 -08:00
Sean Lip
cf9a4fbdf4 Allow attaching blocks to a marked spot from the toolbox modal. This is the last prerequisite for removal of the existing on-screen toolbox. 2016-11-17 17:12:27 -08:00
Sean Lip
df56c64f4f Fix some bugs arising in the toolbox modal for the no-categories case. 2016-11-17 16:13:43 -08:00
Sean Lip
6ab1244560 Add a contextual modal for the toolbox. 2016-11-17 15:58:23 -08:00
Sean Lip
a027ec8573 Move away from using a common modal service, since the block options and the toolbox modals are going to end up behaving fairly differently. 2016-11-16 16:47:26 -08:00
Sean Lip
471e09662e Hide notification messages after a short time interval. 2016-11-15 17:37:38 -08:00
Sean Lip
25588fc7bd Break the sidebar out into its own individual component. 2016-11-15 17:19:01 -08:00
Neil Fraser
f6aef459fc API-breaking cleanup. But doubtful anyone will be affected. (#748)
* Make add/removeClass return whether they did anything.
* Move more functions onto utils.
* Move bind functions to Blockly.
* Routine recompile.
2016-11-15 13:54:33 -08:00
Sean Lip
bed33a9b61 Disallow clicks on disabled buttons. 2016-11-14 18:48:29 -08:00
Sean Lip
b1109f47f0 Add correct focus behavior for the modal. Update boundary sounds. 2016-11-14 18:31:36 -08:00
Sean Lip
14f0a1cd3d Merge branch 'develop' of https://github.com/google/blockly into develop 2016-11-11 18:30:34 -08:00
Sean Lip
bae7426ec6 Remove copy/paste buttons. 2016-11-09 14:46:33 -08:00
Lord Niels N. Horn
ecfdc3eaa8 Rename README to README.md 2016-10-25 19:43:53 +02:00
Sean Lip
e1ae3f4aa8 Add a special aria-label for 'copy to marked spot' button to indicate the cause of its being disabled. 2016-10-10 17:47:15 -07:00
Sean Lip
bd9f5743d3 Wording changes. Reinstate copy/paste blocks temporarily. 2016-10-10 17:31:28 -07:00
Sean Lip
24588447cd Remove extraneous messaage. 2016-10-10 15:38:41 -07:00
Sean Lip
27ad7eba2a Textual edits. 2016-10-07 18:56:13 -07:00
Sean Lip
de9337edde Add general functionality to support reading a message after a custom button is pressed. 2016-10-05 18:21:41 -07:00
Sean Lip
891f5d846b Add message for empty workspace; minor CSS tweak. 2016-10-05 17:52:57 -07:00
Sean Lip
a91badeede Minor updates to CSS and punctuation in messages. 2016-10-05 15:58:28 -07:00
Sean Lip
8bd64948dd Introduce a FieldSegment component for handling blocks with multiple fields. 2016-10-05 12:45:50 -07:00
Sean Lip
5a11ce8842 Make delete sound louder for Accessible Blockly. 2016-10-03 15:37:30 -07:00
Sean Lip
966cda6088 Make aria-levels 1-indexed. Allow pressing Enter to go down a level, and pressing Escape to go up a level. Add a guard against incorrect status message when reaching the top of the outermost level. 2016-09-29 15:31:13 -07:00
Sean Lip
972e3b00eb Make help text clearer and less verbose. 2016-09-27 12:05:12 -07:00
Sean Lip
298f237d7b Update notification messages. 2016-09-27 11:06:24 -07:00
Sean Lip
09f25f618f Add information about the surrounding parent to the block description, for context. 2016-09-23 18:33:59 -07:00
Sean Lip
cd461cd6b6 Tidy up messages, update aria labels, add punctuation. 2016-09-22 17:04:28 -07:00