Fix initial focus finding, ignore div nodes, and resolve aria-label name calculation.
commit004d17d72760dc4beccf2e682822f917d8237458
authordtseng <dtseng@chromium.org>
Wed, 15 Jul 2015 17:39:17 +0000 (15 10:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Jul 2015 17:39:51 +0000 (15 17:39 +0000)
treecca44fc7707fc55ac85a2baa6821d0168587a02c
parented44fd2119f189f9240baf7aea641a0a9cf57229
Fix initial focus finding, ignore div nodes, and resolve aria-label name calculation.

Specifically, the divs inside of OOBE are now appropriately ignored, focus drills down into descendant focus nodes whenever a root web area gains focus, and we use aria-label for the name when there's no name property. For the last issue, this is just a temporary work around until the name property provides the finalized name.
TEST=run through OOBE, tab into a root web area, navigate and verify no divs get ChromeVox focus, and focus a text field (password field) on the login screen.

BUG=488693

Review URL: https://codereview.chromium.org/1214233002

Cr-Commit-Position: refs/heads/master@{#338874}
chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js
chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
chrome/browser/resources/chromeos/chromevox/host/chrome/host.js
chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
chrome/browser/ui/aura/accessibility/automation_manager_aura.h