Skip to content

Reply to comment link is missing anchor #comment-form #7162

Description

@izmeez

Description of the bug

When comments are enabled on a content type with the option "Show reply form on the same page as comments" unchecked and comments exist the user has two options: they can click "Add comment" at the bottom of the node or they can click "Reply" to an existing comment.

In the first instance, when they click "Add comment" they are directed to a page with the title "Add comment" where the node is displayed and the link takes them immediately to the place below the node to where the comment form begins. This is because the anchor #comment-form is added to the link.

In the second instance, when they are viewing a comment and click "Reply" they are directed to a page with the title "Add comment" where the comment is displayed. However, the link does not take them immediately to the place below the comment to where the comment form begins. This is because the anchor #comment-form is not added to the link.

Expected behavior

The expected behavior is that the link takes them to where the comment form begins.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions