accname icon indicating copy to clipboard operation
accname copied to clipboard

<label for="foo"> isn't followed on IE

Open AlexLloyd0 opened this issue 5 years ago • 0 comments

17/116 unit tests currently fail on Internet Explorer.

e.g.

  fit('understands label for', () => {
    render(
        html`
    <button id="foo">text</button>
    <label for="foo">bar</label>`,
        container);
    const elem = document.getElementById('foo');
    expect(computeTextAlternative(elem!)).toBe('bar');
  });

This passes on chrome and firefox but IE gives elem an accessible name of text.

AlexLloyd0 avatar Aug 21 '20 12:08 AlexLloyd0