nvda icon indicating copy to clipboard operation
nvda copied to clipboard

color from stylesheet where only the colour is changed for that item is not read out correctly

Open csworcs opened this issue 1 year ago • 3 comments

Steps to reproduce:

Use this web page: <!DOCTYPE html> <html> <link rel="stylesheet" href="style.css"> <body> <h1>To do</h1> <p>Say hello</p> </body> </html>

And this style sheet: "style.css" h1 { color: green;}

Open that webpage in a browser and press 1 to focus on heading. Press NVDA+F to get font information.

Actual behavior:

"Times New Roman 24 pt black on white bold align left"

Note 1: If an inline style is used (e.g. < h1 style='color:green;'>) instead of a stylesheet it works as expected.

Note 2 If the stylesheet item contains two attributes(e.g. h1 { color: green; font-size:100px;}) then it also works as expected with the correct size and colour.

Expected behavior:

"Times New Roman 24 pt dark green on white bold align left"

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source: installed

NVDA version: 2024.1 (2024.1.0.31547)

Windows version: Windows 11

Name and version of other software in use when reproducing the issue: Chrome and Edge latest version.

Other information about your system: Dell Latitude

Other questions

Does the issue still occur after restarting your computer? Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

2022.3.1 works as expected.

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Yes

csworcs avatar Apr 19 '24 09:04 csworcs

Welcome @csworcs ,

We are unable to process this issue as it stands.

To be able to reproduce this issue, we need an interactive code sample. Provide a minimal HTML sample to reproduce this using codepen.

Kind Regards, NV Access Software Developers

seanbudd avatar Apr 23 '24 00:04 seanbudd

files.zip I have attached the code from the original message in files as requested. There are two css files so that you can see that if works if there is more than one attribute in the CSS listing. I hope this helps.

csworcs avatar Apr 23 '24 08:04 csworcs

@csworcs can you please use codepen as requested. This helps triage and debugging greatly.

gerald-hartig avatar Apr 30 '24 00:04 gerald-hartig

I am no longer able to replicate this problem. Thank you for your time. I will close the ticket.

csworcs avatar May 03 '24 11:05 csworcs