Commit Graph

1145 Commits

Author SHA1 Message Date
Sean Lip
7ad1897deb Use 'text' instead of 'string' as the aria-label for text fields. 2016-07-26 13:24:50 -07: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
Katelyn Mann
fec95219f8 Recompile to pick up #487. 2016-07-21 15:46:54 -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
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
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
Niklas Laxström
08f5557572 Localisation updates from https://translatewiki.net. 2016-07-18 08:23:29 +02:00
Neil Fraser
5c2c4d8400 Refactor validators to survive aggressive Closure compression. 2016-07-15 20:59:20 -07:00
Neil Fraser
8c48436c8f Fix validation on number field. 2016-07-15 20:06:01 -07:00
Neil Fraser
5852f8e7e1 Fix nested disabled blocks in disableOrphans. 2016-07-15 20:06:01 -07:00
Neil Fraser
a76635d352 Fix line wrapping in Dart comments. 2016-07-15 20:06:01 -07:00
Sean Lip
b318eb6504 Implement correct keystroke handling for text input fields. 2016-07-15 16:54:03 -07:00
Sean Lip
d506b7d77c Merge branch 'develop' of https://github.com/google/blockly into develop 2016-07-15 16:40:38 -07:00
Sean Lip
311907cb6a Disable input fields in the toolbox. 2016-07-15 16:40:22 -07:00
Neil Fraser
4f498dc99c Make tooltips reflect from-end indexing behaviour. 2016-07-15 14:55:05 -07:00
Sean Lip
be98f29e18 Add support for Home and End keys for navigating the toolbox and workspace trees. 2016-07-15 14:43:43 -07:00
Rodrigo Queiro
74e905c611 Check flyout in isDragging()
We also have to record startFlyout_ on background scrolls - before
dragMode_ wasn't being reset by terminateDrag() for background scrolls,
which would suppress clicks from that point on.

Fixes #476.
2016-07-15 10:35:45 +02:00
Sean Lip
cc6252cc00 Set activedescendant correctly on workspace trees. 2016-07-14 15:52:58 -07:00
Sean Lip
85f2ae8761 Set active descendant correctly for toolbox tree. Change roles to 'tree' where appropriate. 2016-07-14 11:50:05 -07:00
Niklas Laxström
75fd42e70f Localisation updates from https://translatewiki.net. 2016-07-14 07:46:01 +02:00
Neil Fraser
7a92facc3a Fix angle field. 2016-07-13 16:58:43 -07:00
Neil Fraser
bc3b124d81 Merge branch 'develop' 2016-07-12 11:37:33 -07:00
Neil Fraser
f12c95f4a9 Routine recompile. 2016-07-12 11:36:47 -07:00
Neil Fraser
13d9ecdca0 Merge branch 'master' into develop 2016-07-12 11:35:08 -07:00
Rodrigo Queiro
d3d0ca4fd0 Record whether the workspace has been dragged (#475)
* Record whether the workspace has been dragged

This fixes #473 by differentiating between a touch on an unmovable block
and using it to drag the workspace.

* Remove isScrolling and add DRAG_BEGIN

Applied after PR review.
2016-07-12 11:34:02 -07:00
Neil Fraser
823bf3c5da Allow substituted strings in interpolation. 2016-07-12 11:24:39 -07:00
Neil Fraser
612e0c0aac Reverting three invalid translations. 2016-07-11 16:58:56 -07:00