Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Screen reader-only/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> {{High-use}} {{Template redirect|sronly|sro|sr-only}} {{uses TemplateStyles|Template:Screen reader-only/styles.css}} This template generates invisible text that will be read aloud by [[screen reader]]s. The text supplied as the sole unnamed parameter is not to be displayed in a browser, but should be voiced by a screen reader. <code><nowiki>First part. {{Screen reader-only|Second part only for a screen reader.}} Third part.</nowiki></code> β First part. {{Screen reader-only|Second part only for a screen reader.}} Third part. This template should only be used to hide text from sighted readers when that text substantially duplicates adjacent text that is visible. {{TOC right}} == In table captions == The main usage case is when a table is placed immediately below a heading, where the heading is effectively identical to the table's caption. This template may be used to hide the caption from a sighted reader (as it would be duplicative), while allowing a screen reader to hear the caption{{snd}} for example, if the screen reader reads a list of tables in the article to allow navigation directly to a particular table. If the table is moved to another location away from the heading, then this template should be removed to allow sighted readers to see the table caption. This is a requirement of [https://www.w3.org/TR/WCAG21/#info-and-relationships WCAG 1.3.1]. == Example == The table below has a caption "Example table" that will be voiced by a screen reader. <code><nowiki>|+ {{Screen reader-only|Example table}}</nowiki></code> === Example table === {| class="wikitable" |+ {{Screen reader-only|Example table}} |- ! scope="col" | Header ! scope="col" | Information |- ! scope="row" | Row hdr 1 | data 1 |- ! scope="row" | Row hdr 2 | data 2 |- ! scope="row" | Row hdr 3 | data 3 |} === TemplateData === {{TemplateData header|noheader=yes}} <templatedata> { "params": { "1": { "label": "Text", "type": "string", "required": true } }, "format": "inline", "description": "The text supplied is not to be displayed in a browser, but should be voiced by a screen reader." } </templatedata> == See also == * {{tl|Hidden text}} <includeonly>{{sandbox other|| <!-- Categories below this line, please; interwikis at Wikidata --> [[Category:Accessibility templates]] [[Category:Wikipedia templates that change text based on client state]] }}</includeonly>
Summary:
Please note that all contributions to LarpOfHoi4 Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LarpOfHoi4 Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Pages included on this page:
Template:Documentation subpage
(
edit
)
Template:High-use
(
edit
)
Template:Mbox
(
edit
)
Template:No redirect
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Sandbox other
(
edit
)
Template:Screen reader-only
(
edit
)
Template:Screen reader-only/styles.css
(
edit
)
Template:Snd
(
edit
)
Template:Spaced en dash
(
edit
)
Template:Strong
(
edit
)
Template:TOC right
(
edit
)
Template:TOC right/styles.css
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template link
(
edit
)
Template:Template other
(
edit
)
Template:Template parameter usage
(
edit
)
Template:Template redirect
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tl
(
edit
)
Template:Uses TemplateStyles
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:High-use
(
edit
)
Module:List
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Redirect
(
edit
)
Module:Shortcut
(
edit
)
Module:Shortcut/config
(
edit
)
Module:Shortcut/styles.css
(
edit
)
Module:String
(
edit
)
Module:TNT
(
edit
)
Module:TableTools
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/S
(
edit
)
Module:Uses TemplateStyles
(
edit
)
Module:Uses TemplateStyles/config
(
edit
)
Module:Yesno
(
edit
)
Search
Search
Editing
Template
:
Screen reader-only/doc
Add topic