mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
ae59e82021
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. |
||
---|---|---|
.. | ||
CommentPagination.ss | ||
CommentReplies.ss | ||
CommentsInterface_pendingcomment.ss | ||
CommentsInterface_singlecomment.ss | ||
ReplyPagination.ss |