Fix issue with id's that contain periods . colons : and brackets [ ]

Fixes #1269 

Alternatively line 824 and 789 could get the regex instead as mentioned in the issue.  This is the simplest way, it will store the escaped id within the aria-description.