Provide better ALT Names on images.

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
MartinTruckenbrodt
Posts: 171
Joined: Sun Jan 29, 2006 1:00 pm
Location: Germany
Contact:

Re: Provide better ALT Names on images.

Post by MartinTruckenbrodt »

Hello,
I prefer the way similar to the existing URL BBCode.

ALT texts like dscn0936.jpg or img11145.jpg (examples for digi cam pictures) which would been used automatically don't make sense.

If no extra text is given then the language variable should been used like it is done at the moment.

Bye Martin
Last edited by MartinTruckenbrodt on Tue Feb 21, 2012 9:44 pm, edited 1 time in total.
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs

User avatar
Dragosvr92
Registered User
Posts: 624
Joined: Tue May 31, 2011 12:08 pm
Location: Romania
Contact:

Re: Provide better ALT Names on images.

Post by Dragosvr92 »

@ecwpa, Thank you.
@DavidIQ, Why? The idea stands in this topic. I dont even know what RFC stands for, and i dont have, or can write the script. Even if i could, i'd probably make it the wrong way and phpbb will say its bugy, so the Dev should make it.

@/a3, it may not make a big difference, but its better than what we currently have.
I think You are right and Google does read the filename too.

If you werent aware, all the current images inside the [img] tag (besides the smilies which dont have any alt set) are using "Image" as an alt text. I wasnt suggesting to use it, we already do.
Previous user: TheKiller
Avatar on Memberlist 1.0.3

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Provide better ALT Names on images.

Post by DavidIQ »

TheKiller wrote:@DavidIQ, Why? The idea stands in this topic. I dont even know what RFC stands for, and i dont have, or can write the script. Even if i could, i'd probably make it the wrong way and phpbb will say its bugy, so the Dev should make it.
So you bother writing a post about it but don't even bother looking into what the proper procedure is for requesting a change? :? Writing an RFC does not mean you have to code it. Please read more about it in the getting involved page and pretty much any of the RFC forums. You've replied to some of them so I'm sure you've noticed there is a procedure for these things.
TheKiller wrote:@/a3, it may not make a big difference, but its better than what we currently have.
I think You are right and Google does read the filename too.
If it makes little to no difference then why should anyone spend time doing the work if nobody is going to see the benefits of it? IMO if that is the case then I don't see the need to change what is already being done. However if YOU are going to write the patch for it and also write the RFC and associated tracker ticket for it then I'm sure the Dev team would at least look at your patch.
Image

ecwpa
Registered User
Posts: 181
Joined: Mon Jan 24, 2005 2:10 am
Contact:

Re: Provide better ALT Names on images.

Post by ecwpa »

TheKiller wrote:@ecwpa, Thank you.
@DavidIQ, Why? The idea stands in this topic. I dont even know what RFC stands for, and i dont have, or can write the script. Even if i could, i'd probably make it the wrong way and phpbb will say its bugy, so the Dev should make it.
RFC = Request for consideration.

In short its the formal way to request a feature, fix, etc. All you need to do is create a topic within [3.2/Arsia] RFCs & Patches which must include an introduction to the issue, your proposal and also pros and cons if you can. More info here.

TheKiller wrote:@/a3, it may not make a big difference, but its better than what we currently have.
I think You are right and Google does read the filename too.
Yes it does. I did an ego image search recently :D and found that a lot of images weren't actually related to a post by me on a forum but other forums in where people were using images hosted on my Photobucket account, all Photobucket images include their uploader's name within the URL.

I still think this is a good patch to do. If you do a Google image search for "phpBB logo" the very first image contain "phpbb logo" as a filename and as alt text so it ranked better than others that didn't. There are other factors but I think Google consider alt text very important for image search at least.
Slightly better English than it was in 2005, still improving :D

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: Provide better ALT Names on images.

Post by brunoais »

^ just for the record: Actually it's Request For Comments. Source: http://en.wikipedia.org/wiki/Request_for_Comments

/a3
Registered User
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: Provide better ALT Names on images.

Post by /a3 »

TheKiller wrote:@/a3, it may not make a big difference, but its better than what we currently have.
I think You are right and Google does read the filename too.

If you werent aware, all the current images inside the [img] tag (besides the smilies which dont have any alt set) are using "Image" as an alt text. I wasnt suggesting to use it, we already do.
I sort of understand what your point is, but the point I'm trying to make is that we can already do better than this; by using the same syntax as the [url] BBCode, as originally suggested by sooskriszta. It will be compatible with what we already have, in terms of the BBCode, and it will keep SEO people happy.

I guess perhaps the question now is what we will be doing with images that don't have alternative text. My answer to that would be have no alt whatsoever, or do what we are currently doing. The filename, IMO, is already repeated in the src="" part of the tag so not really necessary.

Just my opinion.
$ git commit -m "YOLO"

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: Provide better ALT Names on images.

Post by Oleg »

alt is a required attribute but frequently there is no meaningful data to put into it, as a result half of the time it's something useless like the name of the file.

I agree that meaningful alt text is good, but changing from a generic placeholder to a less generic placeholder seems rather pointless. We should ideally have meaningful alt text on image buttons that don't have text in markup otherwise. For something like the faq icon before the faq link, does it really matter if the alt text for it reads "image" or "faq.png"? The link immediately following is "faq" regardless.

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: Provide better ALT Names on images.

Post by brunoais »

^ Use the empty @alt. That has a special meaning for the 3 readers I checked even though I don't remember correctly if it has a special meaning in the spec.

ecwpa
Registered User
Posts: 181
Joined: Mon Jan 24, 2005 2:10 am
Contact:

Re: Provide better ALT Names on images.

Post by ecwpa »

Oleg wrote:alt is a required attribute but frequently there is no meaningful data to put into it, as a result half of the time it's something useless like the name of the file.

I agree that meaningful alt text is good, but changing from a generic placeholder to a less generic placeholder seems rather pointless. We should ideally have meaningful alt text on image buttons that don't have text in markup otherwise. For something like the faq icon before the faq link, does it really matter if the alt text for it reads "image" or "faq.png"? The link immediately following is "faq" regardless.
As I said, I don't think the file name is useless. The faq example you mention, make me think you're thinking about regular search, not image search. For image search, it does matter a lot.

And now that I think about it, even if the filename is an alphanumeric string it's actually still relevant to search engines for finding similar images.
Slightly better English than it was in 2005, still improving :D

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: Provide better ALT Names on images.

Post by Oleg »

I checked the faq image just now and it is defined in css apparently, therefore it has no alt text at all.

Please summarize the last 4 pages of this topic - what exactly is the proposal?

Post Reply