Move title attributes into <li> elements.

The icon pictures are smaller than the li, reducing the surface
to show the title as a tooltip.