brainly / brainly/style-guide

Expose role in Button component

Open
#2,433 2 comments 0 reactions 1 assignee Claimed by @clxandstuff View on GitHub
Type: A11Y Type: Discussion Type: Enhancement
Dominant language
TypeScript
Stars
165
Forks
31
PR merge metrics
No merged PRs in 30d

Description

The idea is to expose role in button component to sometimes treat button only as a presentational element. I would say it's just a reason to start the discussion and maybe explore other solutions for this specific case.

![image](https://user-images.githubusercontent.com/8572321/173062503-3a038d0a-ae97-48e3-b07e-c4262906f7e7.png)

Reference:
- https://github.com/brainly/brainly-frontend/pull/21231

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.