Skip to content

DBButton describedbyid Attribute should not be marked as deprecated #4224

@d-koppenhagen

Description

@d-koppenhagen

The DBButton has currently an Attribute called describedbyid which comes form type GlobalProps.
This Attribute is marked with @deprecated but still works.

The property should probably be aligned with other props as already discussed in #4219.
However, I think this property should be removed in the future or replace without an alternative since sometimes you need to give Screenreaders some extra information about the buttons action which is not directly part of the label / ARIA label.

For example if I have a stateful Buttons for pre-selecting transport types (using aria-pressed), I want to tell the used which option al implicitly selected too.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions