react-component / react-component/pagination

Render customized list item

Open
#200 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
674
Forks
333
Avg merge
12m
Merged PRs (30d)
1

Description

Currently it is possible to use itemRender to customize child markup for <li>, but for accessiblity its is not enough.
At least there would be need to customize title attribute for list item, which currently is page number.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the pagination component's existing itemRender handling and how the list item's title is currently set to the page number. Determine an API for customizing that title while preserving the existing child-markup customization, then add coverage showing the customized title is rendered for the list item and supports the accessibility goal.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.