Adds required text span and styling.