Skip to content

Custom ARIA labels #15

@fdeters

Description

@fdeters

Suggested feature

A small suggestion: Can we add a property for setting the aria-label? Right now, there is no aria-label, only aria-valuetext.

Example

It could look like this:

<nb-skeleton
    label="Loading comments..."
></nb-skeleton>

Bonus improvement

Also, would it be better if a component like <nb-skeleton variant="row" count="30"></nb-skeleton> had a single set of ARIA labels rather than rendering 20 elements each with their own ARIA properties?

Example

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions