vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Descriptive ALT and TITLE text for smilies - accessibility guaranteed! (https://vborg.vbsupport.ru/showthread.php?t=64910)

Natch 05-08-2004 10:00 PM

Descriptive ALT and TITLE text for smilies - accessibility guaranteed!
 
[originally from this vB2 hack]
Quote:

Originally Posted by Mystis
This hack adds alt text to smilies, describing them and showing the the text that you need to use in posts to display them. It's very practical, especially in forums with lots of smilies. It's very simple to install, details are in the attached text file.

Screenshots:
Screenshot - Note that the mouse is actually over the lime green (2nd) smilie, printscreen just doesn't actually capture the cursor :)

I have ported this minihack ('cos I liked the old one and used it all the time and 'cos I have a terrible memory!) but I'd be happy to give over this thread to the original hack author if he returns to the forum.

Instructions are attached - it works (almost exactly the same) and looks exactly the same as the old one - I expanded it to store the smilietext in both alt and title elements so that browsers that use either alt or title as the tooltip will show the same information ... (and so that the smilies would be valid under accessibility guidelines with something in alt text ;) ;) nudge nudge saynomore :D)

HTH people...

Q: How is this diferent from current behaviour?
A: Currently vB3 shows the description of the smilie, not the text used to render the smilie (which I find more helpful) - another option would be to have both! [this shall be left as an excercise for the reader ;) :p @ Bob]

Boofo 05-09-2004 02:00 PM

Was that Bob directed at me, by chance? ;)

Nice little hack. Thank you, sir. ;)

Natch 05-09-2004 02:08 PM

Quote:

Originally Posted by Boofo
Was that Bob directed at me, by chance? ;)

Nice little hack. Thank you, sir. ;)

You might very well think that - I coulnd't possibly comment :D

Yeah - I recall you wanting to use that phrase, I have also wanted to use it time and time again - this is my debut with it hehe ;)

Boofo 05-09-2004 02:10 PM

Quote:

Originally Posted by Natch
You might very well think that - I coulnd't possibly comment :D

Yeah - I recall you wanting to use that phrase, I have also wanted to use it time and time again - this is my debut with it hehe ;)

And I think your debut was a smashing success! ;) I feel honored! ;)


All times are GMT. The time now is 10:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01183 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete