kmesh-net/website

[Bug][Accessibility] Missing `alt` attribute for Kmesh logo in About section

开放

#327 创建于 2026年7月5日

 (2 条评论) (0 个反应) (1 位负责人)JavaScript (71 个派生)auto 404
good first issue

仓库指标

星标
 (11 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Task Description

The Kmesh logo image in the About section (src/components/About/index.js) is missing an alt attribute.

This is an accessibility issue because screen readers cannot provide a meaningful description of the image. It is also a minor SEO improvement.

Current Code

<img className="portrait" src="img/Kmesh-icon.png"></img>

Expected Behavior

The image should include a descriptive alt attribute so that assistive technologies can correctly identify it.

Proposed Solution

Update the image element to include an appropriate alt attribute and use the self-closing JSX syntax.

Example:

<img
  className="portrait"
  src="img/Kmesh-icon.png"
  alt="Kmesh logo"
/>

This improves accessibility while following standard JSX conventions.

贡献者指南