Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetime values with "P" prefix are not announced correctly #10669

Closed
brennanyoung opened this issue Jan 9, 2020 · 3 comments
Closed

datetime values with "P" prefix are not announced correctly #10669

brennanyoung opened this issue Jan 9, 2020 · 3 comments

Comments

@brennanyoung
Copy link

#10537 # Steps to reproduce:
Run this HTML snippet in (e.g.) Chrome or Firefox

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>Datetime</title>
	</head>

	<body>
		<h1>Welcome</h1>
		<p>It's <time datetime="T00:00">00:00</time></p>
		<p><time datetime="PT00:00">00:00</time> has elapsed</p>
	</body>
</html>

Actual behavior:

Both time values are announced as "midnight".

Expected behavior:

The first time value is indeed midnight, but a datetime value prefixed with "P", as in the second case, can never be "midnight" - the "P" denotes a duration or timecode value, so it shouldn't refer to time of day. It should say "zero:zero" or perhaps "zero hours, zero minutes" or some such. Not "midnight".

NVDA installed/portable/running from source:

installed

NVDA version:

2019.2.1

Windows version:

10

Name and version of other software in use when reproducing the issue:

chrome (Version 79.0.3945.88) or firefox (71.0)

Other information about your system:

If I run Microsoft Narrator with the same speech synthesizer, it does not have this bug. It announces "zero: zero". This suggests that NVDA is at fault.

@DrSooom
Copy link

DrSooom commented Jan 10, 2020

Which TTS synthesizer is used?

@brennanyoung
Copy link
Author

Microsoft Hazel

@Adriani90
Copy link
Collaborator

This seems only reproducible with some languages of One core voices, i.e. romanian language and not with german or french for example. Thus this is a synth specific issue and needs to be addressed with Microsoft. there is nothing NVDA can do here. Closing as invalid. But please post a link to the Microsoft bug report so that we can keep track on that if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants