civictechindex / CTI-website-frontend

Join a worldwide movement to catalog 
every open source 
civic tech project.
https://civictechindex.org
MIT License
30 stars 30 forks source link

Refactor inline bold styles to use CSS #1128

Closed mealthebear closed 2 years ago

mealthebear commented 2 years ago

Closes #1104

Refactored portions of code that were using the HTML bold tag to instead use the 'font-weight' CSS property per improving site accessibility.

Testing

Relevant URLs:

mealthebear commented 2 years ago

It is passing the Site Improve but it is showing error in HowToAdd/index.js file as below ' can be escaped with ', ‘, ', ’. on line 59

it shows this documentation for reference attaching the link https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unescaped-entities.md

Thanks Bhaggya, I'm going to check this out!

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit 3d0ada33 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 80.9% (0.0% change).

View more on Code Climate.