Commit Graph
2 Commits
  • refactor(tooltip): one declared contract for where a hint may sit
    Tooltip looked for a control group with two selector lists that had
    drifted: the one that anchors a hint named the capture picker's options
    row by its class, and the one that keeps other hints off control groups
    did not. So a hint in that row cleared the row, and a neighbouring hint
    could cover it, or stay where it was when the row appeared.
    
    A control group is now declared one way, data-tooltip-controls, and one
    exported selector serves the anchor, the neighbours to avoid and the check
    that repositions an open hint. The options row declares itself. The media
    toolbar's class leaves the selector: both toolbars already carry the
    attribute. Comments about the television frame, which this line no longer
    has, go with it.
  • fix(a11y): a tooltip names a disabled control by its text, not by an object
    A control may name itself with a copy key or with text it already holds. The tooltip read only the first form, so a disabled control named by text gave its focusable wrapper the accessible name "[object Object]". It now resolves the name as the control itself does.