Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096629

[Accessibility] Mac, sometimes VO focus starts at the wrong node

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
      None

      Description

      sometimes VO focus starts at the wrong node

      For example,
      run HelloPopupMenu
      start VO (Cmd+F5)
      Note the black rectangle is around the text (within the Button). It should be around the button as a whole
      It also reports 'text element' instead of 'button'.
      Another effect of this problem is that VO+Space won't fire button, as the focus is on the text, which does not have a fire action.

      One could still do it by moving up from the text to the button first (VO+Shift+Up), then executing the button (VO+Space).

      I don't know why this happens, but I'm pretty confident that could be fixed by ignoring the Text node.
      Note that this is very common on our Skin implementation, to have a Node that already has a Title Attribute that has another Node as child (that is internally used for rendering) that also Title.
      The classic case is Labeled, whose Skin is a LabeledSkinBase, that has a LabeledText inside.
      Here, both Labeled and its child LabeledText, are TEXT container for a11y.

        Attachments

          Activity

            People

            Assignee:
            fheidric Felipe Heidrich (Inactive)
            Reporter:
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: