Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

FloatLabel: Incorrect DOM element order (label comes after input) #8278

Description

@KubaGorka

Describe the bug

The DOM element order in FloatLabel is incorrect. The element comes after the instead of before it.
This affects accessibility and is inconsistent with expected HTML semantics.

This issue can be observed directly in the official documentation:
https://primereact.org/floatlabel/

Reproducer

No response

System Information

primereact: 10.9.7

Steps to reproduce the behavior

Go to https://primereact.org/floatlabel/

Inspect any FloatLabel example

Observe that appears before in DOM

Expected behavior

The should appear before the to follow proper semantics and accessibility standards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions