You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The article element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable.
@@ -112,6 +81,7 @@ class Article extends BlockElement
112
81
useGlobalAttribute\TabindexTrait;
113
82
useGlobalAttribute\TitleTrait;
114
83
useGlobalAttribute\TranslateTrait;
84
+
115
85
/**
116
86
* The HTML element name
117
87
*/
@@ -137,7 +107,7 @@ class Article extends BlockElement
137
107
* @var array<string>
138
108
*/
139
109
publicstaticarray$childOf = [
140
-
Article::class,
110
+
self::class,
141
111
Aside::class,
142
112
Blockquote::class,
143
113
Body::class,
@@ -156,7 +126,7 @@ class Article extends BlockElement
156
126
Anchor::class,
157
127
Abbreviation::class,
158
128
Area::class,
159
-
Article::class,
129
+
self::class,
160
130
Audio::class,
161
131
Bold::class,
162
132
BidirectionalIsolation::class,
@@ -209,64 +179,74 @@ class Article extends BlockElement
209
179
WordBreakOpportunity::class,
210
180
];
211
181
212
-
213
-
/** Defines the semantic purpose of an element for assistive technologies. */
182
+
/**
183
+
* Defines the semantic purpose of an element for assistive technologies.
184
+
*/
214
185
protected ?RoleEnum$role = null;
215
186
216
-
/** Identifies the element(s) whose contents or presence are controlled by this element. Value is a list of IDs separated by a space */
187
+
/**
188
+
* Identifies the element(s) whose contents or presence are controlled by this element. Value is a list of IDs separated by a space
189
+
*/
217
190
protected ?string$ariaControls = null;
218
191
219
-
/** Identifies the element(s) that describes the object. Value is a list of IDs separated by a space */
192
+
/**
193
+
* Identifies the element(s) that describes the object. Value is a list of IDs separated by a space
194
+
*/
220
195
protected ?string$ariaDescribedby = null;
221
196
222
-
/** Identifies the element(s) that labels the current element. Value is a list of IDs separated by a space */
197
+
/**
198
+
* Identifies the element(s) that labels the current element. Value is a list of IDs separated by a space
199
+
*/
223
200
protected ?string$ariaLabelledby = null;
224
201
225
-
/**
202
+
/**
226
203
* The aria-busy attribute is used to indicate whether an element is currently busy or not.
227
-
* @category HTML attribute
228
204
* @example false
229
205
*/
230
206
protected ?AriaBusyEnum$ariaBusy = null;
231
207
232
-
/** References an element that provides additional details about the current element. */
208
+
/**
209
+
* References an element that provides additional details about the current element.
210
+
*/
233
211
protected ?string$ariaDetails = null;
234
212
235
-
/** Defines keyboard shortcuts available for the element. */
213
+
/**
214
+
* Defines keyboard shortcuts available for the element.
215
+
*/
236
216
protected ?string$ariaKeyshortcuts = null;
237
217
238
-
/** Provides a human-readable custom role description for assistive technologies. */
218
+
/**
219
+
* Provides a human-readable custom role description for assistive technologies.
220
+
*/
239
221
protected ?string$ariaRoledescription = null;
240
222
241
-
/**
223
+
/**
242
224
* Defines how updates to the element should be announced to screen readers.
243
-
* @category HTML attribute
244
225
* @example off
245
226
*/
246
227
protected ?AriaLiveEnum$ariaLive = null;
247
228
248
-
/**
229
+
/**
249
230
* Indicates what content changes should be announced in a live region.
250
-
* @category HTML attribute
251
231
* @example additions text
252
232
*/
253
233
protected ?AriaRelevantEnum$ariaRelevant = null;
254
234
255
-
/**
235
+
/**
256
236
* Indicates whether assistive technologies should present the entire region as a whole when changes occur.
257
-
* @category HTML attribute
258
237
* @example false
259
238
*/
260
239
protected ?AriaAtomicEnum$ariaAtomic = null;
261
240
262
-
/** Establishes ownership relationships between elements. Value is a space-separated list of IDs. */
241
+
/**
242
+
* Establishes ownership relationships between elements. Value is a space-separated list of IDs.
0 commit comments