Captions are now removed from tab order when hidden

This bug fix addresses the following issue: https://edx-wiki.atlassian.net/browse/BLD-374

@polesye Please review.