WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Missing label for QTable pagination records per page #18170

@hsimpson270

Description

@hsimpson270

What happened?

The "Records per page" dropdown that appears when using pagination in QTable is missing a descriptive label. This causes an accessibility issue as all controls should have an associated label to describe the control.

What did you expect to happen?

The dropdown should have an associated label. This could be achieved by either setting aria-describedby to reference the "Records per page:" element or by providing aria-label to the dropdown.

Reproduction URL

https://jsfiddle.net/hjp3c82s/1/

How to reproduce?

  1. Go to the provided reproduction link
  2. Navigate to the bottom of the QTable
  3. Right click the "Records per page" dropdown
  4. Click Inspect
  5. Observe the element has no associated label

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Accessibility [a11y] (quasar)

Platforms/Browsers

Chrome

Quasar info output

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions