8000 BTh,BTd, BPagination accessibility issues · Issue #2645 · bootstrap-vue-next/bootstrap-vue-next · GitHub
[go: up one dir, main page]

Skip to content
BTh,BTd, BPagination accessibility issues #2645
Closed
@rgeerts

Description

@rgeerts

Describe the bug

BTd has a scope attribute which is not allowed for td elements.
BTh has a scope attribute that is being set to "rowspan" and "colspan" in some situations. Some documentation says that only "row" and "col" are valid values. But I am also seeing some places saying that "row","col","rowgroup", and "colgroup" are valid values.
BPagination is making a ul element with role="menubar" but then is not overriding the child li elements. It looks like the old bootstrap vue properly set the role="presentation" for the li.

I am working on a pull request that will allow you to pass the scope attribute to BTh and fixes the other accessibility issues.

Reproduction

I feel the reproduction of the BTd, BPagination is trivial. All of them exhibit this behavior. BTh can be triggered by adding rowspan/colspan to the component.

Used Package Manager

pnpm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0