Skip to content

Improper use of role attribute on form on News Feed #57

@MartinPaulEve

Description

@MartinPaulEve

Moved from MESH-Research/knowledge-commons-profiles#382 (originally by @gmeben)


Area of site: News Feed
URL: https://hcommons-staging.org/activity/

Description
The "What's new, ___?" form has a role attribute with the improper value of complementary.

Form elements are only allowed these values for that attribute:

  • form (not recommended)
  • none
  • presentation
  • search

Source: https://www.w3.org/TR/html-aria/#el-form

Recommendation

Either of these should fix the issue:

  1. Remove the role attribute
  2. Set the value of the role attribute to none or an empty string

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions