Ignore title attribute on directives

Closes #3621