Image Alt to Title

Hover tooltip of image displaying alt attribute, original title, some accessibility-related properties, and URL info.

These are all versions of this script. Show only the versions where the code changed.

  • v1.9.2 2024-11-04

    Another fix for SVG titles. Titled SVG (non-root) elements still take precedence over ours "view source" amendments.

  • v1.9.1 2024-11-04

    Fix for SVG source overshadowing parent (possibly HTML) title.

  • v1.9.0 2024-10-31

    SVG source to its title. Crude, but how I needed this, goddamit!

  • v1.8.9 2024-01-24

    better optical formatting of location search (URLSearchParams)

  • v1.8.8 2023-09-12
  • v1.8.7 2023-09-11

    * 1.8.7 (2023-09-11): unified tab stop across devices (hopefuly)

  • v1.8.6 2023-09-04
    • 1.8.6 (2023-09-04): values separated by tab stops from labels
      • 1.8.5 (2023-09-04): for multiline string, break them below label, so the first line aligns with rest
      • 1.8.4 (2022-11-04): trim long strings
      • 1.8.3 (2022-11-02): ~ minor, omit empty filename from info.
      • 1.8.2 (2022-10-23): ~ minor, bail out from image-only page also in Chrome / Edge.
      • 1.8.1 (2022-10-19): ~ minor text corrections.
      • 1.8.0 (2022-10-18): + 'generator-unable-to-provide-required-alt' https://html.spec.whatwg.org/multipage/images.html#guidance-for-markup-generators.
  • v1.8.4 2022-11-04

    trim long strings

  • v1.8.3 2022-11-02

    omit empty filename from info

  • v1.8.2 2022-10-23

    minor, bail out from image-only page also in Chrome / Edge.

  • v1.8.1 2022-10-18

    ~ minor text corrections.
    + `generator-unable-to-provide-required-alt` https://html.spec.whatwg.org/multipage/images.html#guidance-for-markup-generators.

  • v1.7.1 2022-09-16

    Don't append reload-induced "Previous" info when same as new.

  • v1.7.0 2022-09-14

    Rudimentary handling for data changed due consecutive load(s) after hover: simply display before latest and "previous" info. No merging.

  • v1.6.3 2022-09-06
    • 1.6.3 (2022-09-07) URI decoded of name and path chunks.
  • v1.6.2 2022-09-05

    Prevent rare incremental rewriting of image title by previous amended title.

  • v1.6.1 2022-04-25

    fix restoring "no original title" attribute set scenario

  • v1.6.0 2022-02-15

    Switched from `load` to `mouseenter` listener; fixed error with un-trimmed alts.

  • v1.5.2 2021-09-14

    SRC URL info: omit empty path

  • v1.5.1 2021-09-13

    removed stray console.log, sorry

  • v1.5.0 2021-09-13

    + aria-label

  • v1.4.0 2021-09-10
  • v1.4.0 2021-08-17

    Figcaption support and some fixes around datauri pics.

  • v1.3.3 2021-08-12

    Fixed missing alt reporting (omitted alt was mistakenly reported as `''` (empty string));
    for alts with leading or trailing whitespace display in quotes.

  • v1.3.1 2021-05-06

    Encountered additive re-setting of "empty" titles (on youtube); tried to mitiagte with minor delay after image load; seems to be working for now.

  • v1.3.0 2021-04-27
  • v1.3.0 2021-03-28
  • v1.3.0 2021-03-28
  • v1.3.0 2021-02-12 Added dimensions (in CSS px only, sadly), workning jsdoc types (in VSC), reordered path info
  • v1.2.0 2021-02-09 aria-description maybe?
  • v1.1.5 2021-02-09 fix aria-describedby. (I doubt I'll ever see it somewhere out there)
  • v1.1.4 2021-02-09 fix that recursion prevention thing to make it actually work
  • v1.1.3 2021-02-09 fix for "reused" image elements - augmented title no longer recurses after next load; added illustration
  • v1.1.1 2021-01-14 Just better name and description
  • v1.1.0 2021-01-13 Dropped ambitions for userstyle helper, added SRC info chunks
  • v1.0 2020-12-08