The browser should map the <rect> element to the img role through the available platform accessibility APIs. Note: depending on the API the browser may expose the shape as either "image" or "graphic".
The screen reader should indicate that the shape is either a "graphic" or "image".