Merge pull request #14968 from overleaf/rd-report-footer-heading

Accessibility - Semantic heading markup for footer titles

GitOrigin-RevId: e534835ba2ad21e91bd396120444ee05fcc02c6a
This commit is contained in:
Rebeka Dekany 2023-09-27 12:55:21 +02:00 committed by Copybot
parent 637788076a
commit 7b1a728e00
2 changed files with 6 additions and 5 deletions

View file

@ -7,7 +7,7 @@ footer.fat-footer.hidden-print
a(href='/', aria-label=settings.appName).footer-brand a(href='/', aria-label=settings.appName).footer-brand
.footer-section .footer-section
.footer-section-heading #{translate('About')} h2.footer-section-heading #{translate('About')}
ul.list-unstyled ul.list-unstyled
li li
@ -22,7 +22,7 @@ footer.fat-footer.hidden-print
a(href="/blog") #{translate('blog')} a(href="/blog") #{translate('blog')}
.footer-section .footer-section
.footer-section-heading #{translate('learn')} h2.footer-section-heading #{translate('learn')}
ul.list-unstyled ul.list-unstyled
li li
@ -39,7 +39,7 @@ footer.fat-footer.hidden-print
a(href="/learn/latex/Tables") #{translate('how_to_create_tables')} a(href="/learn/latex/Tables") #{translate('how_to_create_tables')}
.footer-section .footer-section
.footer-section-heading !{translate('footer_plans_and_pricing')} h2.footer-section-heading !{translate('footer_plans_and_pricing')}
ul.list-unstyled ul.list-unstyled
li li
@ -57,7 +57,7 @@ footer.fat-footer.hidden-print
a(href="/user/subscription/plans?itm_referrer=footer-for-students#view=student") #{translate('for_students')} a(href="/user/subscription/plans?itm_referrer=footer-for-students#view=student") #{translate('for_students')}
.footer-section .footer-section
.footer-section-heading #{translate('get_involved')} h2.footer-section-heading #{translate('get_involved')}
ul.list-unstyled ul.list-unstyled
li li
@ -71,7 +71,7 @@ footer.fat-footer.hidden-print
a(href="/user/bonus") #{translate('refer_a_friend')} a(href="/user/bonus") #{translate('refer_a_friend')}
.footer-section .footer-section
.footer-section-heading #{translate('help')} h2.footer-section-heading #{translate('help')}
ul.list-unstyled ul.list-unstyled
li li

View file

@ -86,6 +86,7 @@ footer.site-footer {
} }
.footer-section-heading { .footer-section-heading {
color: @neutral-20;
font-family: @font-family-serif; font-family: @font-family-serif;
font-size: @font-size-h3; font-size: @font-size-h3;
line-height: @headings-line-height; line-height: @headings-line-height;