这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@AlexLloyd0

Description

@AlexLloyd0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions