VanshKing30 / FoodiesWeb

GssoC'24 Project | Open To Contributers
https://foodies-web-app.vercel.app
MIT License
60 stars 156 forks source link

BUG:Accessibility: Invalid href attributes in multiple components #412

Open iamabhishek2828 opened 1 month ago

iamabhishek2828 commented 1 month ago

Is there an existing issue for this?

What happened?

Title:

Accessibility: Invalid href attributes in multiple components

Description:

Your application currently has several components with invalid href attributes, which negatively impact accessibility and user experience. These issues are identified by ESLint warnings and need to be addressed to ensure our application is accessible to all users.

Components and Lines Affected:

Steps to Reproduce:

  1. Run the application and inspect the elements in the specified components.
  2. Observe that the href attributes do not contain valid values.

Expected Behavior:

Actual Behavior:

Possible Solutions:

  1. Provide Valid Links: Ensure that all href attributes contain valid URLs.
  2. Use Buttons for Non-Navigational Actions: If an element is meant to look like a link but does not navigate to a new page, use a <button> element styled as a link instead.

Additional Context:

Refer to the eslint-plugin-jsx-a11y documentation for more information on fixing these issues.

Record

hustlerZzZ commented 1 month ago

@iamabhishek2828 ok fix them

iamabhishek2828 commented 1 month ago

Ok