Showing content from https://a11ysupport.io/tests/html_p_element_with_lang below:
Test: HTML p[lang] element | Accessibility Support
Test: HTML p[lang] element
Screen Reader support level: supported with 9 unknown results
Voice Control support level: unknown
On this page
About this test
This test ensures that p
elements with a lang
attribute are announced correctly.
Submit new test results Age of results
Results in this test range from 7 years ago to 7 years ago. See detailed information about test dates and versions for more information.
Test HTMLOpen the test case HTML file
<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML p element with lang attribute</title>
</head>
<body>
<p>Use the screen reader to announce the target element.</p>
<p id="target" lang="zh">中文 (简体)</p>
</body>
</html>
Summary of Screen Reader support by expectation
* means that some support is hidden behind settings
Summary of Voice Control support by expectation lang attribute Expectation Dragon Naturally Speaking Voice Access (Android) Voice Control (iOS) Voice Control (MacOS) Windows Speech Recognition Windows Voice Access Chrome Chrome Safari Safari Edge Chrome Edge Chrome Not applicable
* means that some support is hidden behind settings
Summary of Keyboard support by expectation lang attribute Expectation Windows Keyboard Mac Keyboard iOS Keyboard Android Keyboard Chrome Firefox Edge Chrome Safari Safari Chrome Not applicable
* means that some support is hidden behind settings
Detailed support results by expectation Expectation for the lang attribute: switch to the specified language if it is valid - applied to the p element
This expectation is applied to the p element. Expectations and results might differ when the the feature is applied to different roles.
This expectation is from the lang attribute feature.
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: NA
Grading method:
Just one of the listed commands must pass for the expectation to pass.
AT Browser Has Support Output Dragon Naturally Speaking Chrome not applicable - JAWS Chrome unknown - JAWS Edge unknown - JAWS Firefox unknown - Narrator Edge unknown - NVDA Chrome unknown - NVDA Edge unknown - NVDA Firefox yes
- Result: (pass)
- Test Case: Use down arrow (Read next item) to navigate forward to `*[lang]`
- Launch NVDA and Firefox.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
*[lang]
- If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: before target
- Keyboard focus is: before target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
down arrow
(Read next item)
- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: 中文 (简体)
Notes: Had to install the Simplified Chinese language in the Windows 10 Language Settings for this to work. If the language is not installed, nothing will be announced. Orca Firefox unknown - TalkBack Chrome unknown - Voice Access (Android) Chrome not applicable - Voice Control (iOS) Safari not applicable - Voice Control (MacOS) Safari not applicable - VoiceOver (iOS) Safari unknown - VoiceOver (macOS) Safari yes
- Result: (pass)
- Test Case: Use VO + Right arrow (Read next item) to navigate forward to `*[lang]`
- Launch VoiceOver (macOS) and Safari.
- Navigate to the test page.
- Find the target element(s) that you will test against. Identify all elements that match this selector:
*[lang]
- If multiple elements match the selector, repeat this test for all instances. However, choose a single instance to report against. If you feel that the selector should be more specific, please open a GitHub Issue.
- Position and configure the screen reader so that the following conditions are met
- Virtual focus is: before target
- Keyboard focus is: before target
- Mode is: auto (do not explicitly change the mode)
- Issue the command:
VO + Right arrow
(Read next item)
- After issuing the command, virtual focus should be: target
- Record results for the relevant expectations
- Output: 中文 (简体)
Notes: Had to install the Chinese language in the Language Settings for VoiceOver. Windows Speech Recognition Edge not applicable - Windows Speech Recognition Chrome not applicable - Windows Voice Access Edge not applicable - Windows Voice Access Chrome not applicable - Windows Keyboard Chrome not applicable - Windows Keyboard Firefox not applicable - Windows Keyboard Edge not applicable - Mac Keyboard Chrome not applicable - Mac Keyboard Safari not applicable - iOS Keyboard Safari not applicable - Android Keyboard Chrome not applicable - Extended Support for: lang attribute: switch to the specified language if it is valid
These are less common combinations
Back to top Dates and Versions of tested combinations AT AT Version Browser Browser version OS version Date tested NVDA 2018.3.2 Firefox 62 Windows 10 version 1809 2018-10-19 VoiceOver (macOS) 10.14 Safari 12 10.14 2018-10-19 History
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4