Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reintroduce step 2H of the accessible name computation #429

Closed
1 task done
kasperisager opened this issue Oct 2, 2020 · 0 comments · Fixed by #430
Closed
1 task done

Reintroduce step 2H of the accessible name computation #429

kasperisager opened this issue Oct 2, 2020 · 0 comments · Fixed by #430
Assignees

Comments

@kasperisager
Copy link
Contributor

kasperisager commented Oct 2, 2020

Name.from() currently doesn't compute a name for cases like the following:

<h1>
  <table>
    <tr>
      <td>Hello world</td>
    </tr>
  </table>
</h1>

That is, the <h1> element isn't assigned a name even though it should according to step 2H of the accessible name computation (https://w3c.github.io/accname/#step2H). Both Chrome, Firefox, and Safari report its name as "Hello world".

The step was previously removed in #360 due to performance issues so we'll need to find of way of reintroducing this step without impacting performance. It therefore might be worthwhile looking into how this is handled in browsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant