phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Provide better ALT Names on images.

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

Re: Provide better ALT Names on images.

Postby MartinTruckenbrodt » Sun Feb 19, 2012 10:37 am

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
MartinTruckenbrodt
 
Posts: 171
Joined: Sun Jan 29, 2006 1:00 pm
Location: Germany

Re: Provide better ALT Names on images.

Postby Dragosvr92 » Mon Feb 20, 2012 3:45 am

@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 username: TheKiller
Avatar on Memberlist 1.0.3
User avatar
Dragosvr92
Registered User
 
Posts: 358
Joined: Tue May 31, 2011 12:08 pm
Location: Romania

Re: Provide better ALT Names on images.

Postby DavidIQ » Mon Feb 20, 2012 4:05 am

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
User avatar
DavidIQ
MOD Team Leader
MOD Team Leader
 
Posts: 760
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth

Re: Provide better ALT Names on images.

Postby ecwpa » Mon Feb 20, 2012 11:31 am

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.
Sorry for my bad english, still improving.
ecwpa
Registered User
 
Posts: 169
Joined: Mon Jan 24, 2005 2:10 am

Re: Provide better ALT Names on images.

Postby brunoais » Mon Feb 20, 2012 3:17 pm

^ just for the record: Actually it's Request For Comments. Source: http://en.wikipedia.org/wiki/Request_for_Comments
brunoais
Registered User
 
Posts: 626
Joined: Fri Dec 18, 2009 3:55 pm

Re: Provide better ALT Names on images.

Postby /a3 » Wed Feb 22, 2012 12:14 am

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.
/a3
Registered User
 
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: Provide better ALT Names on images.

Postby Oleg » Wed Feb 22, 2012 12:57 am

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.
Oleg
3.1 Release Manager
3.1 Release Manager
 
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am

Re: Provide better ALT Names on images.

Postby brunoais » Wed Feb 22, 2012 9:14 am

^ 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.
brunoais
Registered User
 
Posts: 626
Joined: Fri Dec 18, 2009 3:55 pm

Re: Provide better ALT Names on images.

Postby ecwpa » Wed Feb 22, 2012 1:15 pm

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.
Sorry for my bad english, still improving.
ecwpa
Registered User
 
Posts: 169
Joined: Mon Jan 24, 2005 2:10 am

Re: Provide better ALT Names on images.

Postby Oleg » Wed Feb 22, 2012 4:16 pm

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?
Oleg
3.1 Release Manager
3.1 Release Manager
 
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am

Previous Next

Return to [3.x] Discussion

Who is online

Users browsing this forum: A_Jelly_Doughnut and 12 guests