<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: How to remove the ul and li tags for screen reader support</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-remove-the-ul-and-li-tags-for-screen-reader-support</link>
		<description>Gravity Support Forums Topic: How to remove the ul and li tags for screen reader support</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 12:14:11 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/how-to-remove-the-ul-and-li-tags-for-screen-reader-support" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "How to remove the ul and li tags for screen reader support"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-remove-the-ul-and-li-tags-for-screen-reader-support#post-65565</link>
			<pubDate>Tue, 10 Jul 2012 12:26:44 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">65565@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am going to move this to Feature Requests, and ping the developers relating to this. I used to work in Government, and completely understand the need to be able to provide services to everyone. All my best!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rian Rietveld on "How to remove the ul and li tags for screen reader support"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-remove-the-ul-and-li-tags-for-screen-reader-support#post-65535</link>
			<pubDate>Tue, 10 Jul 2012 10:54:23 +0000</pubDate>
			<dc:creator>Rian Rietveld</dc:creator>
			<guid isPermaLink="false">65535@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;Thank you very much for your reply.&#60;/p&#62;
&#60;p&#62;It's not semantically correct to add ul and li, it adds extra info to fields, but they are actually only there for mark up and not for info about what the content means. A screen reader tells the user there is a list with items, but all there is are labels and input fields. It's not wrong but it add to much info that is not relevant. And I had a debate with the people who will validate the website about this.&#60;/p&#62;
&#60;p&#62;And another (bigger) problem is the items in an order form:&#60;br /&#62;
The main issue with screen readers: a label and the input field must have a one to one relationship. For example:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;li id=&#38;#39;field_2_25&#38;#39; class=&#38;#39;gfield gfield_price gfield_price_2_25 gfield_product_2_25&#38;#39; &#38;gt;
    &#38;lt;label class=&#38;#39;gfield_label&#38;#39; for=&#38;#39;input_2_25&#38;#39;&#38;gt;Mastering the art of living and becoming a citizen of the world&#38;lt;/label&#38;gt;
    &#38;lt;div class=&#38;#39;ginput_container&#38;#39;&#38;gt;
      &#38;lt;input type=&#38;#39;hidden&#38;#39; name=&#38;#39;input_25.1&#38;#39; value=&#38;#39;Mastering the art of living and becoming a citizen of the world&#38;#39; class=&#38;#39;gform_hidden&#38;#39; /&#38;gt;
      &#38;lt;span class=&#38;#39;ginput_product_price_label&#38;#39;&#38;gt;Prijs:&#38;lt;/span&#38;gt;&#38;lt;span class=&#38;#39;ginput_product_price&#38;#39; id=&#38;#39;input_2_25&#38;#39;&#38;gt;€ 11,00&#38;lt;/span&#38;gt;
      &#38;lt;input type=&#38;#39;hidden&#38;#39; name=&#38;#39;input_25.2&#38;#39; id=&#38;#39;ginput_base_price_2_25&#38;#39; class=&#38;#39;gform_hidden&#38;#39; value=&#38;#39;€ 11,00&#38;#39;/&#38;gt;
      &#38;lt;span class=&#38;#39;ginput_quantity_label&#38;#39;&#38;gt;Amount:&#38;lt;/span&#38;gt;
      &#38;lt;input type=&#38;#39;text&#38;#39; name=&#38;#39;input_25.3&#38;#39; value=&#38;#39;&#38;#39; id=&#38;#39;ginput_quantity_2_25&#38;#39; class=&#38;#39;ginput_quantity&#38;#39; size=&#38;#39;10&#38;#39; tabindex=&#38;#39;18&#38;#39;/&#38;gt;
    &#38;lt;/div&#38;gt;
  &#38;lt;/li&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here the label &#60;code&#62;class=&#38;#39;gfield_label&#38;#39; for=&#38;#39;input_2_25&#38;#39;&#60;/code&#62; has no relation to the input field amount, so a screenreader can't tell that the field related to &#60;code&#62;name=&#38;#39;input_25.3&#38;#39; in &#38;lt;input type=&#38;#39;text&#38;#39; name=&#38;#39;input_25.3&#38;#39; value=&#38;#39;&#38;#39; id=&#38;#39;ginput_quantity_2_25&#38;#39; class=&#38;#39;ginput_quantity&#38;#39; size=&#38;#39;10&#38;#39; tabindex=&#38;#39;18&#38;#39;/&#38;gt;&#60;/code&#62;. So a blind user can't order via this form.&#60;/p&#62;
&#60;p&#62;Also: Modern screen readers can execute javascript, but's it difficult to see (hear) the update of the total amount.&#60;/p&#62;
&#60;p&#62;I know it's difficult to keep everyone happy. And I agree some functionality is hard to get working for everyone. &#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Rian
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "How to remove the ul and li tags for screen reader support"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-remove-the-ul-and-li-tags-for-screen-reader-support#post-65486</link>
			<pubDate>Tue, 10 Jul 2012 08:05:42 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">65486@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Currently, there is no way to change the output code of the form as this would break multiple things, including conditional logic, validation messages, and more. If you could point to what isn't working in terms of WCAG, I'll pass it on to the developers so that they could maybe tweak it to better work in screen readers.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rian Rietveld on "How to remove the ul and li tags for screen reader support"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-remove-the-ul-and-li-tags-for-screen-reader-support#post-65482</link>
			<pubDate>Tue, 10 Jul 2012 07:23:20 +0000</pubDate>
			<dc:creator>Rian Rietveld</dc:creator>
			<guid isPermaLink="false">65482@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Is it possible to remove the ul and li tags, for WCAG compliance?&#60;br /&#62;
At the moment i'm building an accessible website. I love GF, but the UL and LI tags are not allowed for a form, messing up the output with a screen reader. Is there a way to remove them and rewrite some of the HTML so I can adjust the HTML structure of a form?&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Rian
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
