Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ja/source/_static/a11y-gl.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,11 @@ body {
outline: 2px dashed #5b9dd9;
outline-offset: 2px;
}

/* フッターの関連サイトへのリンク */
.related-sites {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
Copy link

Copilot AI Aug 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CSS property margin-block may not be supported in older browsers. Consider using margin-top and margin-bottom for better browser compatibility, or provide a fallback.

Suggested change
gap: 0.5rem 1.5rem;
gap: 0.5rem 1.5rem;
margin-top: 1rem;
margin-bottom: 1rem;

Copilot uses AI. Check for mistakes.
margin-block: 1rem;
}
20 changes: 20 additions & 0 deletions ja/source/_templates/footer.html
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

表示上問題がなければ、内容的には問題なさそそうです。
ただ、可読性を考えて複数行で記述する方が良いと思います。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

僕もできれば改行したい気持ちなのですが、改行するとビルド後のHTMLに改行文字が   として出力されてしまい、悩みどころでした 💭

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…が、もういちどローカル環境でビルドを試したところ、まったくそんな挙動はありませんでした…!!
謎の勘違いだったようで、 80ba570 で取り込ませていただきました。失礼しました!

Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
{% extends "!footer.html" %}
{% block extrafooter %}
<ul class="related-sites">
<li>
<a href="https://www.freee.co.jp/accessibility" target="_blank" hreflang="ja">
{% if language == 'ja' -%}
freeeのアクセシビリティーの取り組み
{%- else -%}
Accessibility at freee (Japanese)
{%- endif %}
</a>
</li>
<li>
<a href="https://www.freee.co.jp/cases/?cond=issue~issue-28" target="_blank" hreflang="ja">
{% if language == 'ja' -%}
freee製品の導入事例
{%- else -%}
Customer Stories (Japanese)
{%- endif %}
</a>
</li>
</ul>
<p>
{% if language == 'ja' -%}
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="クリエイティブ・コモンズ・ライセンス" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /> <a xmlns:cc="http://creativecommons.org/ns#" href="https://www.freee.co.jp/" property="cc:attributionName" rel="cc:attributionURL">フリー株式会社</a> 作『<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">freeeアクセシビリティー・ガイドライン</span>』は<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">クリエイティブ・コモンズ 表示 4.0 国際 ライセンス</a>で提供されています。
Expand Down