Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
7.92k stars 2.23k forks source link

♻️ Refactor date picker header to use semantic <h2> element #4712

Closed balajis-qb closed 2 months ago

balajis-qb commented 2 months ago

Description

Linked issue: #4703

This PR updates the date picker header from a <div> to a semantic <h2> element for improved accessibility.

Contribution checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.23%. Comparing base (66ecc33) to head (8809079).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4712 +/- ## ======================================= Coverage 97.23% 97.23% ======================================= Files 22 22 Lines 2132 2132 Branches 914 901 -13 ======================================= Hits 2073 2073 Misses 59 59 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.