File tree Expand file tree Collapse file tree 2 files changed +32
-9
lines changed
docs/components/typography Expand file tree Collapse file tree 2 files changed +32
-9
lines changed Original file line number Diff line number Diff line change @@ -201,22 +201,16 @@ <h2 id="links">Links</h2>
201201 </ hx-alert >
202202 < hx-alert type ="warning " status ="warning " persist >
203203 Adding the < code > disabled</ code > attribute to a link < b > will not</ b >
204- prevent user interaction. Consider using a < code > <button></ code >
205- instead.
204+ prevent user interaction.
206205 </ hx-alert >
207206 < div class ="example ">
208207 < div >
209- < a href ="# "> Normal Link</ a >
210- < br />
211- < a href ="# " class ="pseudo-active "> Pressed Link</ a >
212- < br />
213- < a href ="# " disabled > "Disabled" Link</ a >
208+ < a href ="# "> Link Text</ a >
214209 </ div >
215210
216211 < footer >
217212 {% code 'html' %}
218- < a href ="# "> Normal Link</ a >
219- < a href ="# " disabled > "Disabled" Link</ a >
213+ < a href ="# "> Link Text</ a >
220214 {% endcode %}
221215 </ footer >
222216 </ div >
Original file line number Diff line number Diff line change @@ -29,4 +29,33 @@ <h2>Error Message</h2>
2929 Compressed Markup - No line breaks in composed DOM.
3030 </ p >
3131 </ section >
32+
33+ < section >
34+ < h2 > Link</ h2 >
35+ < dl class ="hxList ">
36+ < div >
37+ < dt > Default</ dt >
38+ < dd >
39+ < a href ="# "> Link One</ a >
40+ </ dd >
41+ </ div >
42+ < div >
43+ < dt > Active/Pressed</ dt >
44+ < dd >
45+ < a href ="# " class ="pseudo-active "> Link Two</ a >
46+ </ dd >
47+ </ div >
48+ < div >
49+ < dt > "Disabled"</ dt >
50+ < dd >
51+ < p >
52+ < a href ="# " disabled > Link Three</ a > -
53+ < small >
54+ (incorrect semantics) Should < em > not</ em > have special styling
55+ </ small >
56+ </ p >
57+ </ dd >
58+ </ div >
59+ </ dl >
60+ </ section >
3261{% endblock %}
You can’t perform that action at this time.
0 commit comments