Commit Graph

164 Commits

Author SHA1 Message Date
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
Sean Lip
3b84076c93 Add new fields to toolbarButtonConfig. 2016-09-21 15:41:58 -07:00
Sean Lip
bcd8b999b2 Fix incorrect aria-levels in toolbox tree component. 2016-09-20 17:50:35 -07:00
Sean Lip
0779c959d7 Move 'move to marked spot' button to the top of the block options list. 2016-09-20 17:44:18 -07:00
Sean Lip
270ed961bf Add aria-level and aria-selected attrs to dropdowns. 2016-09-19 19:33:35 -07:00
Sean Lip
f4e316e8a9 Prevent setting a number value to NaN. Select the field value on entry to an input field. State the contents of the input field when describing the field. 2016-09-19 16:59:24 -07:00
Sean Lip
284f71c46a Remove clipboard buttons to simplify UI. 2016-09-19 16:04:08 -07:00
Sean Lip
ee403c6a95 Add keyboard shortcuts for cut, copy and paste operations. 2016-09-19 15:45:46 -07:00
Sean Lip
791a9a2919 Move 'create new group' button to the bottom of each toolbox block, and remove other buttons if there is nothing in the workspace. 2016-09-16 22:33:49 -07:00
Sean Lip
f701b36ee6 When cutting or copying a block, do not include blocks joined to it. 2016-09-15 18:26:36 -07:00
Sean Lip
72b00130e4 Remove tables from the HTML. Move the toolbar buttons to the end so that they don't impede switching between the toolbox and workspace. 2016-09-15 18:09:36 -07:00
Sean Lip
9da3e6c2dc Simplify the handling of the active desc for a toolbox without categories. 2016-09-15 17:43:56 -07:00
Sean Lip
6c05ece593 Minor wording change. 2016-09-08 18:22:02 -07:00
Sean Lip
3cf06078a2 Minor wording edits. Fix issue with Voiceover not detecting changes to block labels. 2016-08-23 16:01:25 -07:00
Sean Lip
e03b191f73 Add more help labels. 2016-08-18 19:27:25 -07:00
Sean Lip
6da1f56879 Change below/above to after/before for 'paste' and 'mark spot' buttons. 2016-08-17 16:31:41 -07:00
Sean Lip
b6d3351739 Add more indicators to move to the right to view the submenu. 2016-08-17 16:21:50 -07:00
Sean Lip
d0083f802e Update text for marked spot and 'more options' labels. 2016-08-15 14:05:06 -07:00
Sean Lip
3a1d9cdec1 Prevent the tabbable area from being restricted to the toolbox and workspace. 2016-08-10 18:30:16 -07:00
Sean Lip
93af9c59b3 Add functionality for playing audio files. 2016-08-09 17:29:53 -07:00
Sean Lip
7edbaf9ee2 Announce top-of-list, bottom-of-list, and current location in response to up/down/tab/shift-tab keypresses, where appropriate. 2016-08-05 17:52:02 -07:00
Sean Lip
afe3c63cab Do not intercept keystrokes that include Alt/Ctrl. 2016-08-05 17:26:23 -07:00
Sean Lip
78ae42b267 After marking a spot or copying a block in the workspace, move the active desc to the parent. 2016-08-05 17:20:41 -07:00