Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breadcrumb/Breadcrumb Item Review Notes #966

Open
9 tasks
Darper opened this issue Oct 23, 2018 · 0 comments
Open
9 tasks

Breadcrumb/Breadcrumb Item Review Notes #966

Darper opened this issue Oct 23, 2018 · 0 comments

Comments

@Darper
Copy link
Contributor

Darper commented Oct 23, 2018

Documentation

  • Add margin to the right of the Avatar in the 2nd example

Code

  • Create new prop for custom delimiter (don't force /)
  • Remove / delimiter from CSS and put into JS
  • If aria-label is needed, change to "Breadcrumb"
  • Check breadcrumb examples on W3 to identify missing accessibility tags. Update HTML if necessary. (https://www.w3.org/TR/wai-aria-practices/#breadcrumb)
  • Remove defaultProps
  • Change active to apply both styling and aria-current="page" attribute. Research aria-current to verify usage and testing strategy. If possible, place on BreadcrumbItem <li> tag so that user doesn't have to worry about adding it themselves.
  • Add prop spread ...others to both components and pass to rendered HTML.
  • Improve prop description for active.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant