Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3722012
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T05:45:09+00:00 2026-05-19T05:45:09+00:00

I just realised that hiding text is a bad attempt from a thread I

  • 0

I just realised that hiding text is a bad attempt from a thread I just made,

As a sidenote, Google does not like
hidden text, and if you have a lot of
it, it will consider it deceptive
coding. One is probably fine, but
you’d be better off using the alt
attribute on the image tag.

But I sometimes need to use images for navigation link list such as the one below, so I use css image background on <a> tags and hide the actual text in the html using <span>,

<div id="header" class="align-center">
 <ul id="menu-header">
    <li id="menu-header-home"><a href="#" class="current-header"><span>Home</span></a></li>
    <li id="menu-header-portfolio"><a href="#"><span>Portfolio</span></a></li>
    <li id="menu-header-profile"><a href="#"><span>Profile</span></a></li>
    <li id="menu-header-newsletter"><a href="#"><span>Newsletter</span></a></li>
    <li id="menu-header-blog"><a href="#"><span>Blog</span></a></li>
    <li id="menu-header-shop"><a href="#"><span>Shop</span></a></li>
</ul>        
</div>

is it seriously lack of semantic and ‘it will consider it deceptive coding.’ as I have used many many hiding text due to replacing text with images?

what should I do instead if I have to use an image for a button and images for navigation link list?

thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T05:45:10+00:00Added an answer on May 19, 2026 at 5:45 am

    Hiding the text also means it’ll be missed by some screen readers.

    A better way to do this would be either to use text-indent to position the text way off screen, use absolute positioning on the spans to also position them way off-screen, or simply make them visibility: hidden.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just realised that Office 2007 now shows multiple pages per default. I can
I just realized from an article in CACM that Doxygen works with Java (and
I just realised that a bit of PHP doesn't execute correctly on one server,
I have just realised that version 2.0 of the guidlines are available. Having just
I know that it isn't the most vital of issues, but I just realised
I have soft real-time .NET application run on W2008R2. I just realised that I
I make extensive use of inheritance, polymorphisim, and encapsulation but i just realised that
I just realised that this program compiles and runs (gcc version 4.4.5 / Ubuntu):
I've now realised that everything I just had up was garbage. My problem is
I just realized that in some place in my code I have the return

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.