chart-bar
العرض القطع الصغيرة من المفردات التي تُركَّب منها الشاشة: الحالة، والهوية، والتقدّم، وجداول البيانات والرسوم البيانية، وشكل التنبيه الوحيد.
يعرض الرسم البياني الشريطي فئات مسمّاة على هيئة أشرطة: سلسلة واحدة من قيم تساوي صفرًا أو أكثر. إنه جدول، فتصل الأسماء والأرقام إلى قارئات الشاشة؛ أما الأشرطة فزينة.
كل مثال يعمل فعلًا، لكن روابطه لا تؤدي إلى أي مكان. يعرض HTML الترميز الجاهز للنسخ.
التذاكر حسب المصدر
<div rst-box-head >
<h2 id ="sources-h" >التذاكر حسب المصدر</h2 >
</div >
<div rst-card >
<figure rst-chart aria-labelledby ="sources-h" aria-describedby ="sources-d" >
<p rst-chart-desc id ="sources-d" >بيعت معظم التذاكر عبر الإنترنت، ولم تُبع أي تذكرة عبر النشرة البريدية بعد.</p >
<div rst-table-scroll tabindex ="0" role ="region" aria-labelledby ="sources-h" >
<table rst-table ="bars" aria-labelledby ="sources-h" aria-describedby ="sources-d" >
<thead >
<tr >
<th scope ="col" >المصدر</th >
<th scope ="col" >
<span class ="rst-sr-only" >الشريط</span >
</th >
<th scope ="col" rst-num >التذاكر</th >
</tr >
</thead >
<tbody >
<tr >
<th scope ="row" >عبر الإنترنت</th >
<td rst-table-bar >
<svg viewBox ="0 0 1000 1" preserveAspectRatio ="none" aria-hidden ="true" focusable ="false" ><rect width ="1000" height ="1" /></svg >
</td >
<td rst-num >412</td >
</tr >
<tr >
<th scope ="row" >شباك التذاكر</th >
<td rst-table-bar >
<svg viewBox ="0 0 1000 1" preserveAspectRatio ="none" aria-hidden ="true" focusable ="false" ><rect width ="572.8" height ="1" /></svg >
</td >
<td rst-num >236</td >
</tr >
<tr >
<th scope ="row" >الشركاء</th >
<td rst-table-bar >
<svg viewBox ="0 0 1000 1" preserveAspectRatio ="none" aria-hidden ="true" focusable ="false" ><rect width ="237.9" height ="1" /></svg >
</td >
<td rst-num >98</td >
</tr >
<tr >
<th scope ="row" >النشرة البريدية</th >
<td rst-table-bar >
<svg viewBox ="0 0 1000 1" preserveAspectRatio ="none" aria-hidden ="true" focusable ="false" ><rect width ="0" height ="1" /></svg >
</td >
<td rst-num >0</td >
</tr >
</tbody >
</table >
</div >
</figure >
</div >
لا توجد بيانات
الرسم البياني الذي ليس لديه ما يرسمه يقول ذلك في جملة واحدة.
<div rst-box-head >
<h2 id ="sources-h" >التذاكر حسب المصدر</h2 >
</div >
<div rst-card >
<figure rst-chart aria-labelledby ="sources-h" >
<p rst-chart-empty >لم تُبع أي تذكرة بعد.</p >
</figure >
</div >