• Akihiro Ota's avatar
    ChromeVox Tutorial: Organize lessons based on content. · bd919846
    Akihiro Ota authored
    This patch changes how lessons are organized. Previously, they were
    categorized by user type (new user, experienced user, developer). UXR
    discovered that this method of organization could make it more difficult
    for users to find the content they are looking for. The new strategy is
    to organize lessons based on content, which makes finding information
    easier.
    
    This patch also adds the OOBE lessons to the main
    menu; this will allow users to revisit the content whenever they
    would like to. To keep the visual styling consistent, titles were
    added to each of these lessons. However, this created an issue in how
    initial focus is placed when interactive lessons are shown; we don't
    actually want to focus the title for these lessons, rather the text
    content that instructs users which keystrokes to press. To solve this
    issue, this change also adds logic in tutorial_lesson.js for where to
    place focus when a lesson is shown.
    
    Lastly, this change fixes an issue where UserActionMonitor wasn't
    properly destroyed, thus continuing to block ChromeVox execution even
    after an interactive lesson was exited.
    
    Bug: 1124070
    Change-Id: If13952d8a7b6e954fc7292e01444a59fe6a624ef
    AX-Relnotes: N/A
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2412223
    Commit-Queue: Akihiro Ota <akihiroota@chromium.org>
    Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#809193}
    bd919846
panel.js 44.5 KB