cancel
Showing results for 
Search instead for 
Did you mean: 

Alt-text for SDN business card flag images

JimSpath
Active Contributor
0 Kudos

Hi!

I opened up the following as a bug/enhancement, but Marilyn Pratt suggested I post here for further discussion. Let me know what you think!

Jim

= = = =

I noticed you put country flags on the SDN business cards, but at 23x12 GIF files, they are hard to guess which country unless you already know the design or the 2 character ISO codes. At over 240 countries on your site (I checked) this may be tricky for most.

Wouldn't it be easy to change from this (e.g):

<!-- IMAGE COUNTRY -->

<span style="vertical-align:baseline;padding-left:10px;">

<img class="urImg" src="/irj/portalapps/com.sap.sdn.businesscard/images/flags/us.gif" ct="Image" border="0">

</span>

<!-- END IMAGE COUNTRY -->

to this:

<!-- IMAGE COUNTRY -->

<span style="vertical-align:baseline;padding-left:10px;">

<img class="urImg" src="/irj/portalapps/com.sap.sdn.businesscard/images/flags/us.gif" ct="Image" border="0" alt="United States">

</span>

<!-- END IMAGE COUNTRY -->

= = = =

////

= = = =

Well, here are links to the German and US flags:

https://www.sdn.sap.com/irj/portalapps/com.sap.sdn.businesscard/images/flags/de.gif

https://www.sdn.sap.com/irj/portalapps/com.sap.sdn.businesscard/images/flags/us.gif

= = = =

Accepted Solutions (1)

Accepted Solutions (1)

eddy_declercq
Active Contributor
0 Kudos

This message was moderated.

JimSpath
Active Contributor
0 Kudos

Sure, the behavior in Firefox is different for img src tags with alt defined:

1) Click on image properties - text displays as "Alternate text: Missing" if not there, and the content if defined.

2) Tools -> Page Info -> Media - text displays as "Not specified" if not, and displays the content as defined.

I would say "img/alt" is an HTML standard, not always followed. I agree the old behavior with Netscape was more like how IE acts today, where the text would pop up when the mouse hovered over the image.

Jim

eddy_declercq
Active Contributor
0 Kudos

This message was moderated.

Answers (3)

Answers (3)

pokrakam
Active Contributor
0 Kudos

>

> I noticed you put country flags on the SDN business cards, but at 23x12 GIF files, they are hard to guess which country unless you already know the design or the 2 character ISO codes. At over 240 countries on your site (I checked) this may be tricky for most.

SE16N -> table T005

JimSpath
Active Contributor
0 Kudos

Not really answered, but "closing the loop" anyway.

marilyn_pratt
Active Contributor
0 Kudos

Strange that the response from Eddy dropped off

Let's continue this conversation in Berlin face to face . I appreciate your closing the post but would like to reopen the dialog live. (then in good community style we can report back)

JimSpath
Active Contributor
0 Kudos

The question I'm trying to ask is would it make sense to display the user's country in some way, not simply a very small graphic flag image. I suggested using the "alt" tag as a way to do this, but I'd leave the technical solution up to the web site techs.

Jim