Refactor how we add data attributes to make sure FF doesn't use undefined titles/alts.