microsoft / microsoft/fluentui

[Bug]: Adding Personas to DetailsList the texts do not adapt to high contrast themes

Open
#30,377 4 comments 0 reactions 1 assignee View on GitHub

@smhigley is already working on this.

Since Jan 29, 2024.

Area: Accessibility Component: DetailsList Component: Persona Fluent UI react (v8) Resolution: Soft Close
Dominant language
TypeScript
Stars
20.3k
Forks
2.9k
Avg merge
2d 9h
Merged PRs (30d)
46

Description

Library

React / v8 (@fluentui/react)

System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 26.01 GB / 47.71 GB
  Browsers:
    Edge: Chromium (120.0.2210.144)
    Internet Explorer: 11.0.22621.1
Are you reporting Accessibility issue?

yes

Reproduction

https://codepen.io/EbramTawfik/pen/GRevPrN

Bug Description

Actual Behavior

I am having a Persona in details list. After applying high contrast themes and selecting the row. The selected row text is not adapted to selected text in the theme.

Example applying Windows high contrast theme Desert
image

The selected row text is black. It should be white:
image

Codepen link: https://codepen.io/EbramTawfik/pen/GRevPrN

Logs
NA
Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.