473,467 Members | 1,303 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Accessible ABBR/ACRONYM

<ABBR title="foo">f</ABBR>

Just consider the situation like the above. If we use such markup,
search engines (tried only Google) don't access the "foo". Is there
anyway to make it accessible for search engines too? TIA

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 21 '05 #1
5 1888
ng**********@rediffmail.com wrote:
<ABBR title="foo">f</ABBR>

Just consider the situation like the above. If we use such markup,
search engines (tried only Google) don't access the "foo". Is there
anyway to make it accessible for search engines too? TIA


This isn't about CSS but HTML. F'ups set accordingly.

Both <abbr> and <acronym> are rather useless, for several reasons, see
http://www.cs.tut.fi/~jkorpela/html/abbr.html

Search engines probably don't use content of title attributes much (not to
be confused with <title> elements, which are very important). There's no
reason why they couldn't or shouldn't, but they probably don't. And, after
all, those attributes aren't part of the normal textual content, which is
what really matters to search engines.

The simple way to make the expansion of an attribute accessible to search
engines, and to human beings, is to explain them in normal text. For
example,
.... foo, abbreviated "f", ...
or
.... foo (f) ...

ObCSS: If you use <abbr> or <acronym>, it's best to include at least

@media print { abbr, acronym { border: none; } }

to remove the default bottom border that many browsers draw (and that might
be useful on screen, but hardly on paper), and

abbr, acronym { font-variant: inherit; letter-spacing: inherit; }

as a cheap insurance against future browsers that might apply the clueless
"sample style sheet for HTML" contained in the CSS 2.0 specification
(and preserved even in the CSS 2.1 draft, now named as "default style
sheet!").

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jul 21 '05 #2
ng**********@rediffmail.com wrote:
<ABBR title="foo">f</ABBR>

Just consider the situation like the above. If we use such markup,
search engines (tried only Google) don't access the "foo". Is there
anyway to make it accessible for search engines too? TIA


If the text is important enough to the page subject that you think
users will be searching for it then maybe the text should be in the
plain content? After all not all browsers support <abbr> (IE doesn't)
and not all browsers support title (and remember that it is intended
for supplementary information rather than essential page content).

A possible solution would be to do something like this
<abbr title="foo">f<span> (foo)</span></abbr>
with the CSS
abbr span {display:none;}

The redundency of the two 'foo's is a bit annoying and it's possible
to use JavaScript to dynamically convert
<abbr>f<span> (foo)</span></abbr> to <abbr title="foo">f</abbr> on
page load.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 21 '05 #3
Steve Pugh wrote:
ng**********@rediffmail.com wrote: <snip> A possible solution would be to do something like this
<abbr title="foo">f<span> (foo)</span></abbr>
with the CSS
abbr span {display:none;}


This is exactly what I have right now. But, wonder if there is any
elegant hack for this. Also, thinking that it would be much better if
search engines could fix this issue.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 21 '05 #4
"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote:
Steve Pugh wrote:

A possible solution would be to do something like this
<abbr title="foo">f<span> (foo)</span></abbr>
with the CSS
abbr span {display:none;}


This is exactly what I have right now. But, wonder if there is any
elegant hack for this. Also, thinking that it would be much better if
search engines could fix this issue.


How would you suggest the search engines 'fix' this without also
opening themselves up to spammers who would use <abbr title="lots of
lovely spam">.</abbr> or similar?

As I said originally, if it's worth being indexed as a poosible search
term then its worth putting in the page content for everyone - human
and spider - to read.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 21 '05 #5
Steve Pugh wrote:
"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote:
Steve Pugh wrote: <snip>This is exactly what I have right now. But, wonder if there is any
elegant hack for this. Also, thinking that it would be much better ifsearch engines could fix this issue.
How would you suggest the search engines 'fix' this without also
opening themselves up to spammers who would use <abbr title="lots of
lovely spam">.</abbr> or similar?

As I said originally, if it's worth being indexed as a poosible

search term then its worth putting in the page content for everyone - human
and spider - to read.


Agreed. Thanks.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Lars G. Svensson | last post by:
Currently, I'm marking up a few pages in German, containing quite some English abbreviations. The abbreviations are marked up as <abbr> with the appropriate title attribute, and -- when appropriate...
10
by: Jarson | last post by:
I am using the ACRONYM tag to provide an explanation of codes within my application. Example: <p>The circuit <acronym title="Circuit P123T: Picton SS to Telebary SS 345KV">P123T</acronym> is...
10
by: Jarson | last post by:
I am using the ACRONYM tag to provide an explanation of codes within my application. Example: <p>The circuit <acronym title="Circuit P123T: Picton SS to Telebary SS 345KV">P123T</acronym> is...
8
by: cms-hispano.org | last post by:
i'm building a site about extreme accessibility, i.e.: how (and why) to get sites to become fully accessible, *beyond* W3C Web Accessibility Initiative guidelines. it's far from being completed (i...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.