Commit graph

1166 commits

Author SHA1 Message Date
Jean-Michel DECORET
927cabe992 Develop - Modals support (#512)
* * apply bootstrap3 integration fixes

* Injection subcontainer

Include svg and div into a master container, which allow css better
positioning (overflow scrolling problem)

* * Fix toolbox positioning (rtl and ltr). Because toolbox if relative to injection div, only adjust it to left (ltr) or right (rtl) edge

* * fix style (thanks to @NeilFraser)

* * revert msg files
2016-07-30 20:36:35 -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
Sean Lip
f7bdf1168d Fix issue with duplicate ids in workspace tree block field menus. 2016-07-28 17:53:43 -07:00
Sean Lip
408e306ffc Update aria labels. In the process, refactor lists to comply with HTML5 spec to avoid ChromeVox getting confused about how many elements are in a list. 2016-07-28 17:47:43 -07:00
Sean Lip
e6f0bf57a9 Change 'UNAVAILABLE' label to 'DISABLED'. 2016-07-28 16:06:12 -07:00
Sean Lip
01a7825107 Refactor getBlockDescription() into a separate method in UtilsService. 2016-07-28 14:44:19 -07:00
Neil Fraser
1aeb26860a Routine recompile. 2016-07-26 17:23:57 -07:00
Neil Fraser
f952cd9f2e Merge branch 'master' into develop 2016-07-26 17:22:25 -07:00
Hasso Tepper
b94dff049e Add Estonian translations to the code and plane demos (#505) 2016-07-26 17:20:54 -07:00
Sean Lip
6d14be9d91 Always remove screenreader focus from block before pasting to one of its connections. 2016-07-26 13:56:57 -07:00
Sean Lip
8a9bae6587 Invoke a digest cycle after the DOM changes, so that the next node is correctly focused on after a top-level block deletion. 2016-07-26 13:45:23 -07:00
Sean Lip
7ad1897deb Use 'text' instead of 'string' as the aria-label for text fields. 2016-07-26 13:24:50 -07:00
Niklas Laxström
ab0e847f41 Localisation updates from https://translatewiki.net. 2016-07-25 07:47:30 +02:00
Sean Lip
0e7e3547b9 Fix screenreader focus behaviour when pasting blocks. 2016-07-22 17:49:11 -07:00
Sean Lip
9e11acda49 Fix ids for field blocks. 2016-07-22 17:38:47 -07:00
Sean Lip
8d6ce713bd Remove unnnecessary aria-selected attributes. 2016-07-22 17:20:37 -07:00
Sean Lip
af38cd1245 Clarify README to explain that Accessible Blockly can now be used with most screen readers and browsers. 2016-07-22 17:18:09 -07:00
Sean Lip
83759dbbee Declare field buttons declaratively. 2016-07-22 14:55:22 -07:00
Sean Lip
e503835845 Use number input boxes for fields that accept numeric values. 2016-07-21 17:40:10 -07:00
Sean Lip
c958cf5eaf When a block is pasted to a tree, set the active descendant of that tree to the newly-pasted block. 2016-07-21 17:28:58 -07:00
Sean Lip
869bda6495 Autoscroll to the current node when the active desc changes. 2016-07-21 17:12:10 -07:00
Sean Lip
c4abbff496 Implement correct behaviour for copying a block from the toolbox to a marked spot. 2016-07-21 16:48:08 -07:00
Sean Lip
606a5e1d08 Clean up active desc properly when a tree is removed from the workspace. Handle tree and screenreader focus correctly for 'move to marked spot' operations. 2016-07-21 16:30:38 -07:00
Sean Lip
21f15aca48 Show alert when block is deleted. Prevent errors from happening when a block is deleted from a field. 2016-07-21 16:29:52 -07:00
Sean Lip
bbde98c2a2 Merge branch 'develop' of https://github.com/google/blockly into develop 2016-07-21 16:28:30 -07:00
rachel-fenichel
f3d0b7612f Merge pull request #496 from picklesrus/compile-develop
Recompile to pick up #487.
2016-07-21 15:52:51 -07:00
rachel-fenichel
1a31133676 Merge pull request #495 from picklesrus/compile-master
Recompile to pick up changes from #494.
2016-07-21 15:52:46 -07:00
Katelyn Mann
fec95219f8 Recompile to pick up #487. 2016-07-21 15:46:54 -07:00
Katelyn Mann
5022ace75b Recompile to pick up changes from #494. 2016-07-21 15:38:58 -07:00
Sean Lip
098ad0f533 Merge branch 'develop' of https://github.com/google/blockly into develop 2016-07-21 15:11:06 -07:00
rachel-fenichel
f79f4eb0c5 Merge pull request #494 from picklesrus/untyped-dom-fix
Revert "Convert createDom calls to createUntypedDom"
2016-07-21 13:07:15 -07:00
picklesrus
1878a5a5f3 Revert "Convert createDom calls to createUntypedDom" 2016-07-21 12:52:59 -07:00
Niklas Laxström
30c7e2e5d0 Localisation updates from https://translatewiki.net. 2016-07-21 07:48:27 +02:00
rachel-fenichel
a1471e8c3e Merge pull request #487 from google/revert-481-createUntypedDom
Revert "Convert createDom calls to createUntypedDom"
2016-07-20 15:43:23 -07:00
picklesrus
d215314ffd Revert "Convert createDom calls to createUntypedDom" 2016-07-20 15:21:45 -07:00
rachel-fenichel
915ff64b65 Merge pull request #484 from drigz/cleanup/flyout-jsdoc
Add JSDoc for flyout drag state variables
2016-07-20 10:36:36 -07:00
Rodrigo Queiro
373b68d8b0 Add JSDoc for flyout drag state variables 2016-07-20 10:24:15 +02:00
Sean Lip
d836fde872 Merge branch 'develop' of https://github.com/google/blockly into develop 2016-07-19 18:43:37 -07:00
Sean Lip
c24bfda7cf Standardize naming convention for marked-spot methods. 2016-07-19 18:43:27 -07:00
Neil Fraser
b6fbdbb238 Merge branch 'develop' 2016-07-19 17:39:33 -07:00
Neil Fraser
19005ca3bf Routine recompile. 2016-07-19 16:44:12 -07:00
Neil Fraser
b502c42511 Merge branch 'master' into develop 2016-07-19 16:43:10 -07:00
Neil Fraser
877aa7522d Fix mutator/warning/comment icons to highlight on mouse over only if they are usable. 2016-07-19 16:34:48 -07:00
rachel-fenichel
b4a938f804 Merge pull request #478 from drigz/bugfix/476
Check flyout in isDragging()
2016-07-19 10:58:48 -07:00
Sean Lip
0de625caf4 Tidy up usage and formatting of aria-level (fixing an off-by-one error in the process). 2016-07-18 16:11:29 -07:00
Rodrigo Queiro
d9a3569706 Convert createDom calls to createUntypedDom (#481)
Unless they could be converted to use goog.dom.TagName, in which case do
that. createDom is going to require goog.dom.TagName member as the
tagName parameter. This change prepares for that.
2016-07-18 07:18:17 -07:00
Neil Fraser
e03a4a9e30 Fix creation of uneditable blocks. Issue #324. 2016-07-18 00:54:34 -07:00