Skip to content

Commit 688b99e

Browse files
committed
New page on filing browser bugs
1 parent 1fbe66f commit 688b99e

File tree

7 files changed

+75
-93
lines changed

7 files changed

+75
-93
lines changed

files/en-us/_redirects.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
/en-US/docs/ARIA/ARIA_Techniques/Using_the_toolbar_role /en-US/docs/Web/Accessibility/ARIA/Reference/Roles/toolbar_role
5454
/en-US/docs/ARIA/Accessible_Rich_Internet_Applications /en-US/docs/Web/Accessibility/ARIA
5555
/en-US/docs/ARIA/Basic_form_hints /en-US/docs/Web/Accessibility/ARIA
56-
/en-US/docs/ARIA/How_to_file_ARIA-related_bugs /en-US/docs/Web/Accessibility/ARIA/How_to/File_ARIA-related_bugs
56+
/en-US/docs/ARIA/How_to_file_ARIA-related_bugs /en-US/docs/Learn_web_development/Howto/Web_mechanics/File_browser_bugs
5757
/en-US/docs/ARIA/Live_Regions /en-US/docs/Web/Accessibility/ARIA/Guides/Live_regions
5858
/en-US/docs/ARIA/examples /en-US/docs/Web/Accessibility/ARIA
5959
/en-US/docs/ARIA/widgets /en-US/docs/Web/Accessibility/ARIA
@@ -100,7 +100,7 @@
100100
/en-US/docs/Accessibility/ARIA/ARIA_Techniques/Using_the_toolbar_role /en-US/docs/Web/Accessibility/ARIA/Reference/Roles/toolbar_role
101101
/en-US/docs/Accessibility/ARIA/ARIA_Test_Cases /en-US/docs/Web/Accessibility/ARIA
102102
/en-US/docs/Accessibility/ARIA/Basic_form_hints /en-US/docs/Web/Accessibility/ARIA
103-
/en-US/docs/Accessibility/ARIA/How_to_file_ARIA-related_bugs /en-US/docs/Web/Accessibility/ARIA/How_to/File_ARIA-related_bugs
103+
/en-US/docs/Accessibility/ARIA/How_to_file_ARIA-related_bugs /en-US/docs/Learn_web_development/Howto/Web_mechanics/File_browser_bugs
104104
/en-US/docs/Accessibility/ARIA/Web_applications_and_ARIA_FAQ /en-US/docs/Web/Accessibility/ARIA
105105
/en-US/docs/Accessibility/ARIA/examples /en-US/docs/Web/Accessibility/ARIA
106106
/en-US/docs/Accessibility/ARIA/forms /en-US/docs/Web/Accessibility/ARIA
@@ -11616,7 +11616,8 @@
1161611616
/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valuenow /en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuenow
1161711617
/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valuetext /en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-valuetext
1161811618
/en-US/docs/Web/Accessibility/ARIA/Basic_form_hints /en-US/docs/Web/Accessibility/ARIA
11619-
/en-US/docs/Web/Accessibility/ARIA/How_to_file_ARIA-related_bugs /en-US/docs/Web/Accessibility/ARIA/How_to/File_ARIA-related_bugs
11619+
/en-US/docs/Web/Accessibility/ARIA/How_to/File_ARIA-related_bugs /en-US/docs/Learn_web_development/Howto/Web_mechanics/File_browser_bugs
11620+
/en-US/docs/Web/Accessibility/ARIA/How_to_file_ARIA-related_bugs /en-US/docs/Learn_web_development/Howto/Web_mechanics/File_browser_bugs
1162011621
/en-US/docs/Web/Accessibility/ARIA/Multipart_labels /en-US/docs/Web/Accessibility/ARIA/Guides/Multipart_labels
1162111622
/en-US/docs/Web/Accessibility/ARIA/Roles /en-US/docs/Web/Accessibility/ARIA/Reference/Roles
1162211623
/en-US/docs/Web/Accessibility/ARIA/Roles/ARIA:_tabpanel_role /en-US/docs/Web/Accessibility/ARIA/Reference/Roles/tabpanel_role

files/en-us/_wikihistory.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10873,6 +10873,16 @@
1087310873
"Mateen"
1087410874
]
1087510875
},
10876+
"Learn_web_development/Howto/Web_mechanics/File_browser_bugs": {
10877+
"modified": "2019-03-24T00:12:10.850Z",
10878+
"contributors": [
10879+
"chrisdavidmills",
10880+
"carlkibler",
10881+
"bledwards1",
10882+
"Sheppy",
10883+
"Aaronlev"
10884+
]
10885+
},
1087610886
"Learn_web_development/Howto/Web_mechanics/How_does_the_Internet_work": {
1087710887
"modified": "2020-07-16T22:35:35.495Z",
1087810888
"contributors": [
@@ -70984,16 +70994,6 @@
7098470994
"SteveLee"
7098570995
]
7098670996
},
70987-
"Web/Accessibility/ARIA/How_to/File_ARIA-related_bugs": {
70988-
"modified": "2019-03-24T00:12:10.850Z",
70989-
"contributors": [
70990-
"chrisdavidmills",
70991-
"carlkibler",
70992-
"bledwards1",
70993-
"Sheppy",
70994-
"Aaronlev"
70995-
]
70996-
},
7099770997
"Web/Accessibility/ARIA/Reference/Roles": {
7099870998
"modified": "2020-04-01T14:49:41.249Z",
7099970999
"contributors": [
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: How to file bugs with browsers
3+
slug: Learn_web_development/Howto/Web_mechanics/File_browser_bugs
4+
page-type: learn-faq
5+
sidebar: learn-how-to
6+
---
7+
8+
Browsers are software, and software has bugs. Sometimes you may find that your code doesn't behave the way you expected (or the way documentation indicates), and that could either be a bug in your code, a bug in the documentation (let's hope not!), or a bug in the browser you're using. We'll discuss how to figure out which it is, and how to file a bug if it turns out to be a browser bug.
9+
10+
## Whose bug is it?
11+
12+
Before filing a bug to the browser, you should make sure that the bug is real. It could be in one of four places: your code, the documentation, the browser, or the specification. Generally, the specification is the most credible source of all; browsers and documentation both follow the spec and can be wrong; your code... well, the quality depends on you.
13+
14+
The first step is to extract a minimal test case that reproduces the bug. It should be small and standalone, preferably a single HTML file with embedded CSS and JavaScript, without external dependencies or unrelated code. This is useful for two reasons: it minimizes the possibility that the problem is in your own code, and you need to provide one anyway if you want to discuss it with anyone, including filing a bug. For example, the following would be a good test case for a bug related to the {{cssxref(":autofill")}} pseudo-class. Note how we stripped it down to the bare minimum, which means foregoing some best practices like the doctype, `<head>` and `<body>` tags, labels for inputs, etc. But that's okay, because the relevant code is still there.
15+
16+
```html
17+
<style>
18+
:autofill {
19+
border: 3px solid darkorange;
20+
}
21+
</style>
22+
<input id="name" name="name" type="text" autocomplete="name" />
23+
<input id="email" name="email" type="email" autocomplete="email" />
24+
```
25+
26+
You can either save this HTML code locally and open it using the `file://` protocol, or you can use an online service like [JSFiddle](https://jsfiddle.net/) or [CodePen](https://codepen.io/) to create a live demo. Now, the simplest way to test if it's a browser bug is to open the test case in [multiple browsers](/en-US/docs/Learn_web_development/Extensions/Testing/Introduction). Preferably use three browsers (Chromium-based, Firefox, and Safari), so if the other two behave the same way (and align with the docs), you can be pretty sure that the third one has a bug.
27+
28+
> [!NOTE]
29+
> There are other practices related to isolating reproduction, like testing in a private window, disabling extensions, clearing caches, etc. You should also try those before reporting the bug.
30+
31+
Of course, even if all three browsers behave the same way, it could still be a bug in all of them; or, two browsers may have the same bug, while the third one is correct. To be sure, you need to read the specification. Documentation may be out of date or incorrect, but the specification is the source of truth. On every MDN reference page, you can find links to the relevant specifications in the "Specifications" section. Sometimes specifications are hard to read, but try your best—if it turns out that all browsers and the spec are consistent but MDN is wrong, consider [contributing](/en-US/docs/MDN/Community/Getting_started)!
32+
33+
Let's say you found a divergence between the browsers and the spec. This isn't necessarily a bug. Browsers may implement something that's not merged into the spec yet, or they may have not yet implemented a new part of the spec. At this point, you need to check more sources to see what the implementation story is. Here are some places to look:
34+
35+
- MDN's browser compatibility table. In the "Browser compatibility" section, you may find information about which browsers support a feature and to what extent. This may indicate that a feature is not implemented in your target browser, or that it's only partially implemented (i.e., it has known bugs or limitations).
36+
- The specification repo. WHATWG, CSSWG, TC39, and most other standard bodies work publicly on GitHub, so you can check if the spec was recently changed, or if there's an open issue about the feature you're testing.
37+
- Community forums. The [MDN community](/en-US/docs/MDN/Community/Communication_channels) is a great place to start, or you can find other web-related forums, where you can ask about whether browsers haven't implemented something yet, or if there's a known bug.
38+
- The issue tracker for the browser you're testing. If you find something related, that means the bug is real, but there's nothing you need to do in the end. We'll get to that next.
39+
40+
## Browser bug trackers
41+
42+
Each browser has its own bug tracker, where you can search for existing bugs and file new ones. The interface and process may be slightly unfamiliar at first, but there are usually instructions. The table below lists the bug trackers for the major browsers.
43+
44+
| Browser | Bug tracker |
45+
| --------------- | ----------------------------------------------------- |
46+
| Apple Safari | [WebKit Bugzilla](https://webkit.org/reporting-bugs/) |
47+
| Google Chrome | [Chromium Issues](https://issues.chromium.org/issues) |
48+
| Mozilla Firefox | [Mozilla Bugzilla](https://bugzilla.mozilla.org/) |
49+
| Opera | [Opera Bug Wizard](https://bugs.opera.com/wizard/) |
50+
51+
Remember to search for existing bugs before filing a new one. If you find an existing bug that matches your issue, you can add a comment with your findings (for example, if you found a workaround, or if you have more information about the bug); but don't add comments that don't really add value. If you can't find an existing bug, you can file a new one—someone would tell you if it's a duplicate. When filing a new bug, make sure to include your minimal test case, and any other information that the report form asks for, like browser version, expected and actual results, etc. Some bug trackers may also ask you to select a component or area for the bug; just do your best. Someone will re-assign it if needed.
52+
53+
## Filing bugs for assistive technologies
54+
55+
If the bug is related to a non-browser software, such as a screen reader, you need to file the bug with the relevant software vendor. The table below lists some of the most popular assistive technologies and where to file bugs for them.
56+
57+
| Software | Where to file |
58+
| ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
59+
| [Freedom Scientific JAWS](https://www.freedomscientific.com/products/software/jaws/) | [JAWS technical support form](https://support.freedomscientific.com/Forms/TechSupport) |
60+
| [Non Visual Desktop Access (NVDA)](https://www.nvaccess.org/) | [File NVDA bugs](https://github.com/nvaccess/nvda) |

files/en-us/web/accessibility/aria/how_to/file_aria-related_bugs/index.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

files/en-us/web/accessibility/aria/how_to/index.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

files/en-us/web/accessibility/aria/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The [ARIA reference](/en-US/docs/Web/Accessibility/ARIA/Reference) is a comprehe
8484

8585
## Guides
8686

87-
The [ARIA guides](/en-US/docs/Web/Accessibility/ARIA/Guides) and [How-to pages](/en-US/docs/Web/Accessibility/ARIA/How_to) are resources that help you improve the accessibility of web page features such as tables, forms, and keyboard-navigation.
87+
The [ARIA guides](/en-US/docs/Web/Accessibility/ARIA/Guides) are resources that help you improve the accessibility of web page features such as tables, forms, and keyboard-navigation.
8888

8989
## Standardization efforts
9090

files/sidebars/accessibilitysidebar.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ sidebar:
4242
- /Web/Accessibility/ARIA/Guides/Screen_Reader_Implementors
4343
- /Web/Accessibility/ARIA/Guides/Techniques
4444
- /Web/Accessibility/ARIA/Guides/Multipart_labels
45-
- type: section
46-
link: /Web/Accessibility/ARIA/How_to
47-
- /Web/Accessibility/ARIA/How_to/File_ARIA-related_bugs
4845
- type: section
4946
link: /Web/Accessibility/ARIA/Reference
5047
title: ARIA reference

0 commit comments

Comments
 (0)