<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AScreen_reader-only%2Fdoc</id>
	<title>Template:Screen reader-only/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AScreen_reader-only%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Screen_reader-only/doc&amp;action=history"/>
	<updated>2026-04-20T00:49:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Screen_reader-only/doc&amp;diff=40511&amp;oldid=prev</id>
		<title>imported&gt;SWinxy: redirect</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Screen_reader-only/doc&amp;diff=40511&amp;oldid=prev"/>
		<updated>2022-07-20T20:11:23Z</updated>

		<summary type="html">&lt;p&gt;redirect&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Template redirect|sronly}}&lt;br /&gt;
{{uses TemplateStyles|Template:Screen reader-only/styles.css|noprotcat=yes}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
== Screen reader only ==&lt;br /&gt;
The text supplied as the sole unnamed parameter is not to be displayed in a browser, but should be voiced by a screen reader.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;First part. {{Screen reader-only|Second part only for a screen reader.}} Third part.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → First part. {{Screen reader-only|Second part only for a screen reader.}} Third part.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template should only be used to hide text from sighted readers when that text substantially duplicates adjacent text that is visible.&lt;br /&gt;
&lt;br /&gt;
=== Table captions ===&lt;br /&gt;
The main usage case is when a table is placed immediately below a heading, where the heading is effectively identical to the table&amp;#039;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.&lt;br /&gt;
&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The table below has a caption &amp;quot;Example table&amp;quot; that will be voiced by a screen reader.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|+ {{Screen reader-only|Example table}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example table ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ {{Screen reader-only|Example table}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Header&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Information&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Row hdr 1&lt;br /&gt;
| data 1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Row hdr 2&lt;br /&gt;
| data 2&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Row hdr 3&lt;br /&gt;
| data 3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== TemplateData ===&lt;br /&gt;
{{TemplateData header|noheader=yes}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Text&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;,&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;The text supplied is not to be displayed in a browser, but should be voiced by a screen reader.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia templates that change text based on client state]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;SWinxy</name></author>
	</entry>
</feed>