More accessible error pages

Changes suggested by @workwithgreat to improve the accessibility of the error pages.