Skip to content

[EuiCodeBlock][a11y] Should line numbers be audible to screen readers? #5380

@cee-chen

Description

@cee-chen

@1Copenut I'd love your thoughts on this!

Currently https://elastic.github.io/eui/#/editors-syntax/code#line-numbers has visual but not screen-reader-accessible line numbers. This doesn't feel like crucial information necessarily, but it's still information available to sighted users that non-sighted users don't have.

What's your recommendation here? Do you know any best practices around code line counts that we should be following for screen readers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions