Commit Graph

100 Commits

Author SHA1 Message Date
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
Sean Lip
f7b0c1b5e6 Move action menu below the block description. Edit the aria label to improve discoverability of the submenu. 2016-08-04 19:28:36 -07:00
Sean Lip
051d5bc099 Remove superfluous menus from toolbox. Use aria live region instead of alerts, and redo the text based on user feedback. Add a simple tutorial at the top of the demo page. 2016-08-04 19:04:13 -07:00
Sean Lip
e4b01dee44 Remove block input list breakdowns from the toolbox. 2016-08-04 16:45:25 -07:00
Sean Lip
d362c73a04 Allow a placeholder for empty fields to be specified when generating block descriptions. (#509)
* Allow a placeholder for empty fields to be specified when generating block descriptions.

* Correctly handle recursive block stringification.
2016-08-03 17:47:34 -07:00
Sean Lip
69c887c998 Use a shorter name for the toolbox category aria labels. 2016-08-03 14:57:45 -07:00
Sean Lip
5268ca94b9 Use more descriptive ARIA labels for toolbox categories. 2016-08-02 18:06:55 -07:00
Sean Lip
baf8bc49fd Do a DFS to find the first available input field or button when the user presses the Enter key. 2016-08-02 16:43:27 -07:00
Sean Lip
caccf3fcf7 Use the correct closure when executing block actions. 2016-08-02 15:57:12 -07:00
Sean Lip
75a842b884 Refactor common functionality. Focus on new blocks immediately after they are created. Fix active descendant for tricky cases where moving a block to a marked spot splits the existing tree. 2016-08-01 19:20:20 -07:00
Sean Lip
2312a2d716 Improve screenreader focus behaviour when copying or moving blocks to a marked field. 2016-08-01 18:00:53 -07:00
Sean Lip
044d8a0ea6 Fix error with invoking utilsService. 2016-07-28 18:53:46 -07:00
Sean Lip
03900e1400 Add an additional aria labelledby attribute to the toolbox blocks. 2016-07-28 18:44:08 -07:00
Sean Lip
3c395ac161 Fix aria labels for toolbox trees on Voiceover. 2016-07-28 18:39:08 -07:00
Sean Lip
47888b806f Ensure aria-labels for workspace work correctly with Voiceover on Mac. 2016-07-28 18:29:44 -07:00