Products

Solutions

Learn More

Partners

Community

Blog

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...validating a dnn site for WCAG 2.0validating a dnn site for WCAG 2.0
Previous
 
Next
New Post
6/19/2019 10:22 AM
 

I'm trying to make our site more accessible.

I'm stuck on something - I can't find where to add a label to the search box.

The search box failed because it has no label associated with it.

These are the failure message:

Check 57: input element, type of "text", missing an associated label.

Check 213: input element, type of "text", has no text in label.

<input name="dnn$dnnSearch$txtSearch" type="text" maxlength="255" size="20" id="dnn_dnnSearch_txtSea …

I've searched all the files on the server, but the only reference to the above file: "dnn_dnnSearch_txtSea …" is only on a .CSS style sheet. I cannot find where the search box is located.

any ideas please?

(I'm on DNN version 7.4.2 using a skin called Gravity if that helps)

 
New Post
6/26/2019 4:42 AM
 

You need to change the skin file to add a label to the search box. You can find the following search code in the Gravity skin. 

<input name="dnn$dnnSearch$txtSearch" type="text" maxlength="255" size="20" id="dnn_dnnSearch_txtSea...

Then put the following label code before the search code. 

<label for="dnn_dnnSearch_txtSearch" style="font-size:0 !important;line-height:0 !important;color:transparent !important;">Search</label>


Our website: dnngo.net
E-mail account: [email protected]
Skype: dnngo-linda
 
New Post
6/27/2019 2:57 AM
 

Thanks Linda.

However, I couldn't find the code you highlighted. 

I ran a text search in Notepad++ for that string on the entire site and it returned no results.

I ran another search for just "dnn_dnnSearch" and that did return a few pages, but all of those were just .css files.

 
New Post
6/27/2019 4:24 AM
 

Mark,

the code in the ascx file could be something like

<dnn:search id="dnnSearch" runat="server"...

I would add the label there...

Happy DNNing!
Michael

PS These forums will be discontinuesd soon. Please go to the new Community site (see banner above), register and use the forums there, please. There are already much more activities in these forums than here, so chances are good to get better answers.


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
DNN Connect 2020
 
New Post
6/27/2019 11:11 AM
 
i see, that looks more ominous!
i'll give that a try.
thanks
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...validating a dnn site for WCAG 2.0validating a dnn site for WCAG 2.0


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out