Skip to content

PageCard does not support passing attributes to the root node (ARIA-LABEL etc.) #6247

@kkomel

Description

@kkomel

Environment

Operating system Linux 6.6.87.2-microsoft-standard-WSL2 │
│ │ CPU 13th Gen Intel(R) Core(TM) i5-13600H (16 cores) │
│ │ Node.js version v22.20.0 │
│ │ nuxt/cli version 3.33.1 │
│ │ Package manager pnpm 10.28.2 │
│ │ Nuxt version 4.3.1 │
│ │ Nitro version 2.13.1 │
│ │ Builder vite 7.3.1 │
│ │ Config css, devtools, extends, i18n, modules, routeRules, runtimeConfig, typescript │
│ │ Modules @nuxt/content 3.7.1

Is this bug related to Nuxt or Vue?

Vue

Package

v4.x

Version

v4.4.0

Reproduction

https://codesandbox.io/p/devbox/nuxt-ui-xgrzw5

Description

Passing anything other than the specified PageCardProps will not be passed through to the root node of the PageCard component.

I want to add a aria-selected attribute to the component, but I cannot do that.

Additional context

Image

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting initial review and prioritizationv4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions