FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Alert has hard-coded title for screen reader · Issue #2023 · patternfly/patternfly-react · GitHub

Alert has hard-coded title for screen reader #2023

Description

Alerts should not have a hard-coded, unlocalizable title. It looks like this was addressed in #601, but now the problem is back?

Now we have:

  variantLabel = variantLabel || capitalize(AlertVariant[variant]);
  const readerTitle = (
    <React.Fragment>
      <span className={css(accessibleStyles.screenReader)}>{`${variantLabel} alert:`}</span>
      {title}
    </React.Fragment>
  );```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL