Fixes #16215.  Let Chrome default to gray text for disabled TextBox widgets like other non-Webkit browsers, and darken the text for Safari somewhat to look better on mobile devices.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29884 560b804f-0ae3-0310-86f3-f6aa0a117693
Make !TooltipDialog work with popup.at(), fixes #16227 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29889 560b804f-0ae3-0310-86f3-f6aa0a117693
Use -webkit-overflow-scrolling so that Dialog scrolls better on iOS5+, fixes #16170.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29891 560b804f-0ae3-0310-86f3-f6aa0a117693
Check that onClose() is defined before calling it, fixes #16267 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29901 560b804f-0ae3-0310-86f3-f6aa0a117693
Fix corner case regression where you can't call set("foo", "bar") from postMixInProperties(), even if setting "foo" isn't supposed to access the DOM.   Fixes #16273 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29903 560b804f-0ae3-0310-86f3-f6aa0a117693
For aria compliance, !StackContainer's children need role="tabpanel", but since the child widgets may have their own roles and aria attributes, for example Tree, put a wrapper <div role="tabpanel"> around each child widget.

Modifies _Container.addChild(widget, num) to position widget as the n+1'th direct child of _Container.containerNode, even if the child widgets are not direct children of _Container.containerNode.  This is necessary for !StackContainer.addChild() to keep working after the above change, and also simplifies !AccordionContainer.addChild(), which is complicated due to the !AccordionInnerContainer wrapper widgets.

Also sets aria-label or preferably aria-labelledby on each <div role="tabpanel">.

Patch partly from Mike Billau (IBM, CCLA).

Refs #16242, #16244 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29904 560b804f-0ae3-0310-86f3-f6aa0a117693
Turn on !BackgroundIframe for chrome too, to help with applets.   Also add has() flag to control whether or not !BackgroundIframe shows.   Starting in 2.0 I'd like it to be false by default.

Fixes #11822, #16268 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29907 560b804f-0ae3-0310-86f3-f6aa0a117693
Make sure container's tabindex is removed whenever one of the container's children gets focus, regardless of how it got focus.   Fixes #16300 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29911 560b804f-0ae3-0310-86f3-f6aa0a117693
Fixes #16262, #10251.  Add multiple letter search capability to _KeyNavContainer.  Also added single letter navigation to Menu triggered by a special {} MenuItem label syntax (e.g. {F}ile) in which the letter is underlined when the Menu has focus.  Changed SelectMenu to inherit from DropDownMenu instead of Menu. Added automated tests. !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29912 560b804f-0ae3-0310-86f3-f6aa0a117693
update comment to match behavior, refs #14341 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29920 560b804f-0ae3-0310-86f3-f6aa0a117693
just fixing bug number in comment, refs #16300.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29924 560b804f-0ae3-0310-86f3-f6aa0a117693
Remove disclaimer no longer needed after [29904], refs #16244 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29932 560b804f-0ae3-0310-86f3-f6aa0a117693
refs #16171. Recognize BlackBerry 10 as a BlackBerry.

git-svn-id: http://svn.dojotoolkit.org/src/dojox/trunk@29958 560b804f-0ae3-0310-86f3-f6aa0a117693
Some general cleanup of _KeyNavContainer.     Also modifying Menu to not access this.focusedChild when the !MenuItem of interest is already in a local variable.   Refs #16323 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29979 560b804f-0ae3-0310-86f3-f6aa0a117693
Split _KeyNavContainer code related to key navigation into _KeyNavMixin.   Refs #16323 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29985 560b804f-0ae3-0310-86f3-f6aa0a117693
Support for !TooltipDialog textDir parameter to affect !TooltipDialog title.    Although I don't know why we are supporting titles on !TooltipDialogs at all.  Fixes #16358 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29989 560b804f-0ae3-0310-86f3-f6aa0a117693
Update _KeyNavMixin to use dojo/on rather than deprecated dojo/connect.   On the downside though, it splits _onContainerKeypress() into two functions, _onContainerKeypress() and _onContainerKeydown(), each receiving a native event without evt.charOrCode set, so may cause issues for subclasses overriding these methods, or using this._keyNavCodes to hold printable keys.    Seems ENTER and SPACE and the non-printables like arrows still work fine though.

Make _KeyNav.focusFirstChild() and _KeyNav.focusLastChild() abstract methods, rather than requiring an overloaded API for _getNextFocusableChild().   However, _KeyNavContainer._getNextFocusableChild() still functions to get the first/last child.

Refs #16323 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29998 560b804f-0ae3-0310-86f3-f6aa0a117693
Refactor Tree to extend _KeyNavMixin.  The only behavioral change is that when you tab into the Tree, it always goes to the first node, rather than the previously focused node.   Some changes will affect people who are extending Tree though, if they are either modifying the !TreeNode template or overriding non-public methods.   Incidentally fixes some bugs not obeying Tree.tabIndex (i.e. just assuming the tabIndex is 0).

Also moved focusNext() and focusPrev() from _KeyNavMixin to _KeyNavContainer, thus simplifying signature of _KeyNavMixin._getNextFocusableChild().

Fixes #16323 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30029 560b804f-0ae3-0310-86f3-f6aa0a117693
Make _KeyNavMixin base class, rather than _KeyNavContainer and Tree, track child node focus/blur events and update this.focusedChild accordingly.   To support this, the subclass needs to define a selector (this.childSelector) to identify focusable children (ex: .dijitTreeRow).

This has two advantages for _KeyNavContainer:
     1. uses event delegation, which is more efficient and more amenable to server side instantiation, etc.
     2. removes undocumented requirement that child widgets extend _FocusMixin

Refs #16323 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30045 560b804f-0ae3-0310-86f3-f6aa0a117693
Aria related fixes from Mike Billau (IBM, CCLA):

    - set aria-labelledby for popups
    - move listbox role of Select widget up to its root node
    - change !TooltipDialog to be role alertdialog rather than dialog, and move that role up to its root node
    - automated tests for aria roles and states
    - other miscellaneous test updates
    
Fixes #16307 !strict.


git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30053 560b804f-0ae3-0310-86f3-f6aa0a117693