silverstripe-comments/templates/Includes
Unknown ae59e82021 Improve A11y of comment reply.
Currently this is a link. Users will expect this link to take them to another part of the page or another page altogether. 

There is no indication that it opens or closes an associated form on the same page, nor does it indicate the current state of the “reply to” form.

So, instead of a link, use a button. Add to that button an aria-controls attribute that references the id of the associated form’s container, and an aria-expanded attribute that indicates (true or false) the state of the associated form.
2018-02-01 16:27:30 +13:00
..
CommentPagination.ss API Move configuration of comments to the config API and enable per-instance configuration 2015-04-09 10:34:33 +12:00
CommentReplies.ss SS4 compatibility updates - ORM, Form, Controller changes 2017-01-17 16:25:09 +13:00
CommentsInterface_pendingcomment.ss SS4 compatibility updates - ORM, Form, Controller changes 2017-01-17 16:25:09 +13:00
CommentsInterface_singlecomment.ss Improve A11y of comment reply. 2018-02-01 16:27:30 +13:00
ReplyPagination.ss Nested comments proof of concept 2015-04-21 11:12:42 +12:00