Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Primitive Progress wrapper omits numeric props from Root and ARIA value

クローズ 初心者向け
#7,431 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #7438 @harsh21234i による — マージ済み

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

classNameのみでRadixProgressRootが構築されているPrimitiveなProgressラッパーを見つけてください。Root要素にvalueとmaxのpropsを追加し、determinate(確定値)になりaria-valuenowを公開するようにしてください。コンポーネントをレンダリングし、Root要素に正しいdata-stateとaria-valuenow属性が付与されていることを確認して検証してください。

索引モデルが issue の本文から書いたものです。

説明

The high-level primitive Progress wrapper forwards value and max to its Indicator, leaving the Root indeterminate and without aria-valuenow. State-driven visual updates work, but assistive technology cannot read the numeric progress.

This reproduces with stable reflex-components-radix==0.9.10.post1/Reflex 0.9.12 and alpha Radix/Reflex 0.10.0a1; it is preexisting. Themes rx.progress exposes the value correctly.

Reproduce
import reflex as rx
from reflex_components_radix.primitives.progress import progress

class State(rx.State):
    amount: int = 25

# Render in an app, with a State event/slider that changes amount.
progress(value=State.amount, max=100, id="primitive-progress")
  1. Open the page and inspect #primitive-progress.
  2. Change State.amount from 25 to 100 through the app's slider.
  3. Expected: the Root is determinate, exposes the current numeric aria-valuenow, and reaches the complete state at 100.
  4. Actual: the visual Indicator updates, but the Root remains data-state="indeterminate" and omits aria-valuenow.

Construction output isolates the prop placement:

RadixProgressRoot: className only; no value/max
  RadixProgressIndicator: value=<State.amount>, max=100
Environment and evidence

macOS, Python 3.13, real dev/prod Chromium 143.0.7499.4 testing. Only published packages were installed in isolated environments; no framework fix was applied.

主要言語
Python
スター
28.9k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
177

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

reflex-dev/reflex のほかの issue

reflex-dev/reflex の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。