Commit Graph

165 Commits

Author SHA1 Message Date
Neil Fraser
b4450b7dee Reverse deprecated argument order to womtoblock in accessible. 2018-04-17 14:58:27 -07:00
CoryDCode
29582ba0d7 Fixing no-category toolboxes so they populate immediately, rather (#1255)
than on a timeout.
2017-08-16 16:05:35 -07:00
CoryDCode
ac5b322de5 Fixing the tree service so it doesn't treat unknown block deletion (#1182)
as an error, and turning off keypresses on the workspace when the
variable modals are open.
2017-06-22 14:44:02 -07:00
CoryDCode
d4bf02a451 Fixing variable dropdowns so they select the correct option. (#1184) 2017-06-21 19:05:36 -07:00
CoryDCode
668d220faa Fixing an error with block messages and ordering. (#1171) 2017-06-20 12:55:27 -07:00
CoryDCode
1ee550aa24 Fixing the accessible variable stuff so it interacts correctly with (#1170)
variableMap.
2017-06-13 09:47:27 -07:00
CoryDCode
f48a68a9ef Adding automatically-generated variable lists to the accessible toolbox. (#1149)
Fixing a bug with the core-only uncompressed file not finding its own directory.
2017-06-05 13:42:51 -07:00
CoryDCode
7336d03538 Fixing modals so they're announced on focus, and changing variables t… (#1030)
* Fixing modals so they're announced on focus, and changing variables to only react to enter, not onChange.

* Adding a temp index.

* Whoops - added it in the wrong spot.
2017-06-01 17:30:50 -07:00
CoryDCode
e2ee3aa9c9 Setting up accessible Blockly for Closure compilation. (#1134)
Moving closure compilation into the build file.

Fixing up goog.requires for accessible blockly. Adding accessible to the build script.
2017-05-26 10:43:02 -07:00
CoryDCode
33355415df Adding the common modal class. (#1017)
Centralizes accessible modal behavior.
2017-04-05 16:06:45 -07:00
CoryDCode
8e199ec04b Adding an add variable modal to accessible Blockly. (#1015)
* Adding the remove variable modal and functionality to accessible Blockly.

* Adding the add variable modal for accessible Blockly.
2017-04-03 16:16:50 -07:00
CoryDCode
537bf17b7d Adding the remove variable modal and functionality to accessible Blockly. (#1011) 2017-03-30 11:31:31 -07:00
CoryDCode
b0856b879d Fixing commenting from the last commit. (#1000) 2017-03-23 14:49:05 -07:00
CoryDCode
6cc6848961 Added the variable modal and component and implemented basic renaming functionality. (#991) 2017-03-23 13:47:26 -07:00
CoryDCode
c3c1f83105 Fixing Enter so it properly propogates to dropdown selection. (#934)
Fixing FieldSegment so it updates dropdowns when the underlying dropdown changes.
2017-02-15 11:13:32 -08:00
CoryDCode
1a1646a5c4 Pinning the angular2 dependency, and including licenses. (#893) 2017-02-02 13:29:02 -08:00
Sean Lip
ff578359a6 Deleting a top-level block does not cause blocks after it to be deleted. Properly handle the active desc for this case. 2017-01-27 20:27:58 -08:00
Sean Lip
bf3b5f9d0d Fix a bug where splicing a block between two linked blocks disconnects the group and messes up the focus. 2017-01-27 18:33:39 -08:00
Sean Lip
42ce2f6856 Clear all active desc ids when the 'Erase Workspace' button is pressed. 2017-01-27 15:38:49 -08:00
CoryDCode
ed0bec07a2 Fixing combo boxes getting out-of-sync with NVDA.
Combo boxes need to be special cased like text input. Also, Escape is
a reserved button in NVDA, so I added Enter as a way to "submit and
move up a level" in addition to escape, so these boxes can be edited
while NVDA is on.
2017-01-20 16:16:51 -08:00
Sean Lip
fceba91c6c Clean up workspace.component.js. When moving a block from one place to another, move all blocks after it too, and adjust the active descs accordingly. 2017-01-19 17:12:15 -08:00
Sean Lip
59b074d19f Further cleanup and removal of unnecessary functions. Pull some strings out for i18n. 2017-01-18 17:45:15 -08:00
Sean Lip
d2bfd134b6 Rewrite tree.service.js.
- Remove unnecessary code and functions.
- Add documentation where needed.
- Fix a bug arising when a block on the workspace is attached to an existing link.
2017-01-18 16:56:16 -08:00
Sean Lip
767ce2ab8e Refactor and simplify field-segment.component.js. 2017-01-17 17:21:32 -08:00
Sean Lip
9d8adaba91 Remove debug info. 2017-01-17 15:53:13 -08:00
Sean Lip
5ed6b7a48d Remove unnecessary check when attaching a new block to a marked connection. 2017-01-17 15:52:04 -08:00
Sean Lip
08a141aa21 Minor refactoring of the modal code (add comments, guard against invalid keystrokes, etc.). 2017-01-17 15:19:12 -08:00
Sean Lip
4bef8cc329 Rename workspace-tree to workspace-block. 2017-01-17 13:32:33 -08:00
Sean Lip
ed0c9868c6 Fix bug in audioService where attached event callbacks were not being cleared properly. 2017-01-17 11:48:01 -08:00
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