handles tooltips with accessibility modifiers

Fixes formatting error where type tooltips would have the type name duplicated.