Dear Lynx team, how is anybody, disabilities or not, to see <a title=
tooltips?
So: wishlist: Enable seeing all of <a title=...
The TITLE attribute provides a title for an element and is commonly
implemented as a "tooltip" on visual browsers, though many browsers
lack support for TITLE.
OK, lynx is not a "visual browser", but still...
On --dump or interactive browsing, one wants to see all <a titles>
without having to do an action for each one.
Painful workaround:
GET http://mapserver.gis.umn.edu/sitemap|
perl -pwe 's/title="([^"]+)"//&&($q=$1)&&s/<\/a>/: $q$&/' > x.html &&
$BROWSER x.html
Or
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
$mech->get( $ARGV[0] ) or die;
print "<html><body>\n";
for ( $mech->find_all_links() ) {
print "<p><a href=\"", $_->url, "\"><strong>", $_->text, "</strong>: ",
${ $_->attrs() }{title}, "</a></p>\n";
}
print "</body></html>\n";
#then browse the file produced